Marketplace
Browse and adopt engineering standards, rules, and configurations. Fork to customize for your organization.
Follow PSR standards
php
PSR-12 coding style, PSR-4 autoloading. Use php-cs-fixer in CI. Strict types: `declare(strict_types=1)`.
Use Composer for dependencies
php
composer.json and composer.lock. `composer install --no-dev` for prod. PSR-4 autoloading.
Use PHPStan for static analysis
php
PHPStan level 9 (max) for strict analysis. Type declarations on all methods. Use baseline for legacy code migration.
Use PHPUnit for testing
php
PHPUnit for all tests. Use data providers for parameterized tests. Pest for simpler syntax if preferred.
Use PHP 8.3+ features
php
Constructor promotion, named arguments, match, attributes, typed properties, enums, readonly classes. PHP 8.3+ for typed class constants.
Use Symfony for enterprise PHP
php
Symfony for enterprise PHP. Bundles for modularity. Flex for recipes. Doctrine for ORM. Use makers for scaffolding.