Skip to content

benjaminhaeberli/php-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PHP Skeleton 🐘

GitHub Workflow Status (main) Total Downloads GitHub Release GitHub Release Date GitHub License


Getting started πŸ”Ž

Requirements

Installation

You can create a new repository on GitHub or download the ZIP of the latest release.

You can also install it using composer :

composer create-project benjaminhaeberli/php-skeleton --prefer-source YourApp

Then, install composer packages :

composer install

Commands ⌨️

More details in composer.json

Common

🧹 Keep a modern codebase with Pint (see default config)

composer pint

βš—οΈ Run static analysis using PHPStan

composer phpstan

βœ… Run unit tests using PEST

composer pest

πŸš€ Run the entire test suite

composer test

🧰 Validate composer.json and update dependencies

composer core:update

πŸ“ˆ Expose code coverage using PEST (require XDEBUG in coverage mode)

composer pest:coverage

Code quality & refactoring

πŸ’Ž Measure the code quality with PHPInsights (see config\insights.php)

composer phpinsights

βœ… Run refactors using Rector

composer rector

PHP skeleton is maintained by Benjamin Haeberli under the MIT license.

About

A modern PHP skeleton that includes CI/CD, PHPStan, Pest & more 🐘

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Contributors

Languages

Generated from nunomaduro/skeleton-php