This package provides abstract object factory allowing create objects by given definition with dependencies resolved by a PSR-11 container.
The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist yiisoft/factory
to the require section of your
The package is tested with PHPUnit. To run tests:
The package tests are checked with Infection mutation framework. To run it:
The code is statically analyzed with Psalm. To run static analysis:
The Yii Factory is free software. It is released under the terms of the BSD License.
LICENSE for more information.
Maintained by Yii Software.