scherzo / scherzo
Lightweight PHP Framework
v0.9.3
2023-02-05 10:42 UTC
Requires
- php: >=8.0
- nikic/fast-route: ^1.3
- pimple/pimple: ^3.5
- psr/container: ^2.0
- symfony/http-foundation: ^6.0
Requires (Dev)
- phpunit/phpunit: ^9.6
This package is auto-updated.
Last update: 2024-04-16 21:23:36 UTC
README
Yet another breaking rewrite for v0.9.
Installation
composer require scherzo/scherzo
Development on Linux
Installation.
$ composer install
Coding standards
$ # Fix. $ phpcbf $ # Check. $ phpcs
Test
$ phpunit
Generate documentation
$ phpdoc $ phpunit -c phpunit.coverage.xml --coverage-html docs/coverage --coverage-text
Development on Windows
Installation.
$ # Install app. $ composer install $ # Install development tooling. $ php tools/install.php
Coding standards
$ # Fix. $ php tools/phpcbf.phar $ # Check. $ php tools/phpcs.phar
Test
$ php tools/phpunit.phar
Generate documentation
$ # PHPDoc. $ php tools/phpdoc.phar $ # Code coverage. $ ./vendor/bin/phpunit.bat -c phpunit.coverage.xml --coverage-html docs/coverage --coverage-text $ # Testdox. $ ./vendor/bin/phpunit.bat --testdox-html docs/test/index.html