cndrsdrmn / php-scaffold
A boilerplate for modern PHP libraries.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/cndrsdrmn/php-scaffold
Requires
- php: ^8.2
Requires (Dev)
- laravel/pint: ^1.0
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5
- rector/rector: ^2.1
- symfony/var-dumper: ^7.2
This package is auto-updated.
Last update: 2025-10-23 12:38:27 UTC
README
PHP Scaffold
A boilerplate for modern PHP libraries. This repository provides a clean, opinionated starting point for building, testing, and maintaining PHP packages.
- PHP 8.2+
- Pre-configured testing (PHPUnit)
- Static analysis (PHPStan)
- Code style (Laravel Pint)
- Automated refactoring (Rector)
- GitHub Actions workflow for CI
Quick start
- Use as a GitHub template:
Click "Use this template" on the repository page to create your new package with this setup. 
- Use Composer to scaffold a new package:
composer create-project cndrsdrmn/php-scaffold --prefer-source my-package 
Contributing
Contributions are welcome! Please read the contribution guidelines first.
PHP Scaffold was created by Candra Sudirman under the MIT license.
