pneuma / template
Pneuma Template Application
5.3.2
2024-01-21 14:33 UTC
Requires
- php: >=8.1
- pneuma/framework: ^5.1
Requires (Dev)
- phpstan/phpstan: ^1.10
- samy/phpunit: ^1.2
- squizlabs/php_codesniffer: ^3.7
This package is auto-updated.
Last update: 2024-09-21 15:50:57 UTC
README
Composer update
docker run --rm -v .:/app composer up
Create and start containers
docker-compose up -d --build
Stop and remove containers, networks
docker-compose down
Execute a command in a running container
docker exec -it pneuma-php /bin/bash
Running local test
- docker run --rm -v .:/pneuma -w /pneuma php:cli-alpine php vendor/bin/phpcs --standard=PSR1,PSR2,PSR12 app cgi cli test
- docker run --rm -v .:/pneuma -w /pneuma php:cli-alpine php vendor/bin/phpstan analyse -c phpstan.neon
- docker run --rm -v .:/pneuma -w /pneuma php:cli-alpine php vendor/bin/phpunit