General-purpose libraries from PhpTailors.
TODO: link to the online documentation
PHP>=8.0 is required.
After you've just cloned
php scripts/bootstrap-dev
composer up
composer bin all up
php docker/initialize
composer tests
composer phpunit
or (with docker-compose)
docker/php run --rm php vendor/bin/phpunit
composer doctests
or (with docker-compose)
docker/php run --rm php vendor-bin/behat/vendor/bin/behat -c docs/behat.yml
composer psysh
or (with docker-compose)
docker/php run --rm php vendor-bin/psysh/vendor/bin/psysh vendor/autoload.php
docker/codeclimate run --rm codeclimate analyze
docker/docs run --rm sami build
The generated API docs go to docs/build/html/api/
.
docker/docs up sami
The generated API docs go to docs/build/html/api/
and get exposed at
https://localhost:8001
.
docker/docs up sphinx
The generated docs go to docs/build/html
and get exposed at
http://localhost:8002
.