1. Go to this page and download the library: Download karakum/yii2-path-registry 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/ */
karakum / yii2-path-registry example snippets
use yii\db\Migration;
ganizer extends Migration
{
public function up()
{
$path = new m160606_163120_path_organizer_init();
$path->up();
}
public function down()
{
$path = new m160606_163120_path_organizer_init();
$path->down();
}
}