The package provides Collision adapter for Yii 3.0
- PHP 8.0 or higher.
The package could be installed with composer:
composer require yiistack/collision --prefer-dist
Add these definitions to your console app:
return [
SolutionsRepository::class => FriendlySolutionsRepository::class,
WriterContract::class => Writer::class,
];
The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunit
The package tests are checked with Infection mutation framework. To run it:
./vendor/bin/roave-infection-static-analysis-plugin
The code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalm