Installation
The recommended way to install Ray.Di is through Composer.
composer require ray/di ^2.0
The GitHub repository is at ray-di/Ray.Di
Testing Ray.Di
Here’s how to install Ray.Di from source and run the unit tests and demos.
git clone https://github.com/ray-di/Ray.Di.git
cd Ray.Di
./vendor/bin/phpunit
php demo-php8/run.php