<Project id="package-skeleton-php" />
PHP Package Template
A modern Composer package skeleton with tests, static analysis, code style, and CI scaffolding.
Project Overview
Template repository to scaffold a modern PHP 8 library with Composer.
Key Features
- Composer scripts for linting, fixing, tests, and coverage (
lint,lint:fix,test,test:coverage). - Testing via PHPUnit (
phpunit.xml.dist) and example test suite. - Static analysis with PHPStan (
phpstan.neon.dist). - Code style using PHP-CS-Fixer (
.php-cs-fixer.php). - CI scaffolding in
.github/(GitHub Actions-ready). - Changelog & MIT license included.
Check out the project repository on Github for more info.