phetit / package-skeleton
Template for a PHP package
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.1
- symfony/console: ^6.3
- symfony/string: ^6.3
- symfony/validator: ^6.3
README
Phetit Package Skeleton
This repository provides a skeleton to start your next PHP package.
Requires PHP 8.1+
Usage
Installation
📦 Create a Composer project:
composer create-project phetit/package-skeleton --keep-vcs PackageName
If you want to get the last changes in the repository, add
--stability=dev
option.
After installation, follow the console instructions to set up your project.
Composer scripts
Once the project has been set up, you can use the following composer scripts.
🎨 Run code style analysis using PHP_CodeSniffer:
composer test:lint
🛠️ Run static analysis using PHPStan:
composer test:types
✅ Run unit tests using PHPUnit:
composer test:unit
🚀 Run the entire test suit
composer test
License
This project is licensed under the MIT license.