This package targets:
- PHP 8.2, 8.3, 8.4, 8.5
- Laravel 10, 11, 12, and 13
The repository includes:
- automated PHPUnit tests split into
UnitandFeaturesuites - Orchestra Testbench-based package integration tests
- PHPStan static analysis at level 5
- Psalm type checking at error level 5
- Laravel Pint code style enforcement (Laravel preset)
- Rector automated modernisation checks (PHP 8.2 ruleset)
composer validate --strictvalidationcomposer auditfor dependency security scanning- GitHub Actions CI on push, pull request, and weekly security schedule
The test workflow runs against these combinations:
| PHP | Laravel |
|---|---|
| 8.2 | 10.x |
| 8.3 | 10.x |
| 8.3 | 11.x |
| 8.3 | 12.x |
| 8.4 | 11.x |
| 8.4 | 12.x |
| 8.4 | 13.x |
| 8.5 | 12.x |
| 8.5 | 13.x |
Static analysis tools (PHPStan, Psalm, Pint) run on the PHP 8.2 / Laravel 10 baseline build.
Changes should meet these checks before release:
- Composer metadata validates with
composer validate --strict - the full test suite passes (Unit + Feature)
- all supported Laravel matrix jobs pass in GitHub Actions
- PHPStan analysis at level 5 passes
- Psalm at error level 5 passes
vendor/bin/pint --testreports no style violationscomposer audit --no-devreports no production security advisories- docs stay aligned with supported framework versions
# Run all tests
composer test
# Run static analysis
composer analyse
# Run type checker
composer types
# Check code style (no changes)
composer lint
# Fix code style
composer format
# Run Rector in dry-run mode
composer refactorLaravel 9 support has been intentionally removed because current dependency resolution for that line is blocked by security advisories in the Laravel 9 ecosystem. The package support policy now starts at Laravel 10.