PHP SatelliteApp
interface, to launch a new cli or routing app with a PSR-14 event dispatcher.
Check satellite-app for a ready to use template.
composer require orbiter/satellite-launch
Commands to set up and run e.g. tests:
# on windows:
docker run -it --rm -v %cd%:/app composer install
docker run -it --rm -v %cd%:/var/www/html php:8.1-cli-alpine sh
docker run --rm -v %cd%:/var/www/html php:8.1-cli-alpine sh -c "cd /var/www/html && ./vendor/bin/phpunit --testdox -c phpunit-ci.xml --bootstrap vendor/autoload.php"
# on unix:
docker run -it --rm -v `pwd`:/app composer install
docker run -it --rm -v `pwd`:/var/www/html php:8.1-cli-alpine sh
docker run --rm -v `pwd`:/var/www/html php:8.1-cli-alpine sh -c "cd /var/www/html && ./vendor/bin/phpunit --testdox -c phpunit-ci.xml --bootstrap vendor/autoload.php"
This project adheres to semver, until 1.0.0
and beginning with 0.1.0
: all 0.x.0
releases are like MAJOR releases and all 0.0.x
like MINOR or PATCH, modules below 0.1.0
should be considered experimental.
This project is free software distributed under the MIT LICENSE.
By committing your code to the code repository you agree to release the code under the MIT License attached to the repository.
Maintained by Michael Becker