scherzo/scherzo

Lightweight PHP Framework

v0.9.3 2023-02-05 10:42 UTC

README

Yet another breaking rewrite for v0.9.

Test

Installation

composer require scherzo/scherzo

Development on Linux

Development branch Test

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

Development branch Test

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