diff --git a/examples/php-full/.env.example b/examples/php-full/.env.example
new file mode 100644
index 0000000..6d85700
--- /dev/null
+++ b/examples/php-full/.env.example
@@ -0,0 +1 @@
+export COMPOSE_PROJECT_NAME=php-full
diff --git a/examples/php-full/Dockerfile b/examples/php-full/Dockerfile
new file mode 100644
index 0000000..dbdff34
--- /dev/null
+++ b/examples/php-full/Dockerfile
@@ -0,0 +1,36 @@
+FROM php:8.1-cli-bullseye AS base
+
+COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
+RUN which composer && composer -V
+
+WORKDIR /app
+
+ENV PATH="${PATH}:/app/vendor/bin"
+
+COPY composer.* ./
+
+
+################################################################################
+
+FROM base AS build
+
+
+RUN apt-get update -yqq \
+ && apt-get install -yqq --no-install-recommends \
+ git unzip
+
+
+RUN composer install
+
+
+
+
+################################################################################
+
+FROM base AS test
+
+COPY . .
+
+RUN phpunit --testdox
+
+
diff --git a/examples/php-full/build.yaml b/examples/php-full/build.yaml
new file mode 100644
index 0000000..ba5f018
--- /dev/null
+++ b/examples/php-full/build.yaml
@@ -0,0 +1,25 @@
+name: php-full
+type: drupal
+
+dockerfile:
+ stages:
+ build:
+ extends: base
+ packages:
+ - git
+ - unzip
+ commands:
+ - composer install
+
+ test:
+ extends: base
+ commands:
+ - phpunit --testdox
+
+php:
+ version: 8.1-cli-bullseye
+ phpstan:
+ level: 7
+ paths:
+ - app
+ - src
diff --git a/examples/php-full/phpcs.xml.dist b/examples/php-full/phpcs.xml.dist
new file mode 100644
index 0000000..31a245f
--- /dev/null
+++ b/examples/php-full/phpcs.xml.dist
@@ -0,0 +1,7 @@
+
+
+ PHPCS configuration file for php-full.
+ src
+
+
+
diff --git a/examples/php-full/phpstan.neon.dist b/examples/php-full/phpstan.neon.dist
new file mode 100644
index 0000000..25c6a6c
--- /dev/null
+++ b/examples/php-full/phpstan.neon.dist
@@ -0,0 +1,6 @@
+parameters:
+ level: 7
+ paths:
+ - app
+ - src
+
diff --git a/examples/php-full/phpunit.xml.dist b/examples/php-full/phpunit.xml.dist
new file mode 100644
index 0000000..c81b0d7
--- /dev/null
+++ b/examples/php-full/phpunit.xml.dist
@@ -0,0 +1,20 @@
+
+
+
+
+ tests
+
+
+
diff --git a/examples/php-simple/.env.example b/examples/php-simple/.env.example
new file mode 100644
index 0000000..387d990
--- /dev/null
+++ b/examples/php-simple/.env.example
@@ -0,0 +1 @@
+export COMPOSE_PROJECT_NAME=php-simple
diff --git a/examples/php-simple/Dockerfile b/examples/php-simple/Dockerfile
new file mode 100644
index 0000000..1b1ba93
--- /dev/null
+++ b/examples/php-simple/Dockerfile
@@ -0,0 +1,14 @@
+FROM php:8.1-cli-bullseye AS base
+
+COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
+RUN which composer && composer -V
+
+WORKDIR /app
+
+ENV PATH="${PATH}:/app/vendor/bin"
+
+COPY composer.* ./
+
+
+
+
diff --git a/examples/php-simple/build.yaml b/examples/php-simple/build.yaml
new file mode 100644
index 0000000..bddae83
--- /dev/null
+++ b/examples/php-simple/build.yaml
@@ -0,0 +1,4 @@
+name: php-simple
+type: php-library
+php:
+ version: 8.1-cli-bullseye
diff --git a/examples/php-simple/phpcs.xml.dist b/examples/php-simple/phpcs.xml.dist
new file mode 100644
index 0000000..87b1e20
--- /dev/null
+++ b/examples/php-simple/phpcs.xml.dist
@@ -0,0 +1,7 @@
+
+
+ PHPCS configuration file for php-simple.
+ src
+
+
+
diff --git a/examples/php-simple/phpstan.neon.dist b/examples/php-simple/phpstan.neon.dist
new file mode 100644
index 0000000..2f7d10d
--- /dev/null
+++ b/examples/php-simple/phpstan.neon.dist
@@ -0,0 +1,5 @@
+parameters:
+ level:
+ paths:
+ - src
+
diff --git a/examples/php-simple/phpunit.xml.dist b/examples/php-simple/phpunit.xml.dist
new file mode 100644
index 0000000..633b0d0
--- /dev/null
+++ b/examples/php-simple/phpunit.xml.dist
@@ -0,0 +1,20 @@
+
+
+
+
+ tests
+
+
+