Basic php skeleton with the PSR-4 specification, for class autoloading.
Integrated into the skeleton linter for static analysis and code styles and automatic code refactoring.
Requires PHP 8.2+
For initial new project, execute this command:
composer create-project iportillo/skeleton-php project-name
Use codebase with Pint:
composer lintRun refactors using Rector
composer refactoRun static analysis using PHPStan:
composer test:typesRun unit tests using PEST
composer test:unitRun the entire test suite:
composer testcd public
php -S localhost:8000