yiisoft/definitions
Minimalistic definitions container for PHP apps. Build and compose object definitions for DI: map IDs to classes, factories, values and params, with autowiring-friendly configuration. Designed to work smoothly with Yii and other PSR-based projects.
The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunit
The package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:
./vendor/bin/roave-infection-static-analysis-plugin
The code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalm
Package used PHP CS Fixer to maintain PER CS 2.0 code style and Rector to make codebase follow some specific rules or use either newest or any specific version of PHP:
composer php-cs-fixer
composer rector
This package uses composer-require-checker to check if
all dependencies are correctly defined in composer.json. To run the checker, execute the following command:
./vendor/bin/composer-require-checker
How can I help you explore Laravel packages today?