thingston / http-app
Simple HTTP application running on PHP 8.1 and backed by PSR standards.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/thingston/http-app
Requires
- php: >=8.1
- guzzlehttp/psr7: ^2.4
- psr/container: ^2.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.0
- thingston/http-exception: ^1.1
- thingston/http-response: ^1.1
- thingston/http-router: ^1.3
- thingston/log-manager: ^1.0
- thingston/settings: ^1.3
Requires (Dev)
- phpstan/phpstan: ^1.5
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
- symfony/var-dumper: ^6.0
- thingston/coverage-check: ^1.0
README
Simple HTTP application running on PHP 8.1 and backed by PSR standards.
Requirements
- PHP 8.1
Instalation
composer require thingston/http-app
Usage
Please check the Documentation.
Testing
Available Composer scripts:
composer run test- Runs all tests using PHPUnit.composer run coverage:text- Runs all tests using PHPUnit and generates a coverage report to the console.composer run coverage:clover- Runs all tests using PHPUnit and generates an XML coverage report to filecoverage.xml.composer run coverage:html- Runs all tests using PHPUnit and generates an XML coverage report to directorycoverage.composer run coverage:check- Runs thecoverage:cloverscript and checks the code coverage rate (requires >= 90%).composer run analyze- Runs the PHPStan static analysis and displays the results to the console.composer run cs- Runs the Code Sniffer static analysis and displays any errors to the console.composer run cbf- Runs the Code Sniffer code fixer and displays the results to the console.composer run checks- Runs the scriptscs,analyzeandcoverage:checkand displays the results to the console.
Support
- Issues: https://github.com/thingston/http-app/issues
- Documentation: https://github.com/thingston/http-app/wiki