PHP code example of dekeysoft / yii2-container

1. Go to this page and download the library: Download dekeysoft/yii2-container library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dekeysoft / yii2-container example snippets


Yii::$container = new \PHPKitchen\DI\Container();
spl_autoload_unregister([\PHPKitchen\DI\autoload\ClassLoader::class, 'loadClass']);
bash
composer