PHP code example of hrupin / yii2-blog

1. Go to this page and download the library: Download hrupin/yii2-blog 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/ */

    

hrupin / yii2-blog example snippets


'modules' => [
    'blog' => [
        'as frontend' => 'hrupin\blog\filters\FrontendFilter',
    ],
]

'modules' => [
    'blog' => [
        'as backend' => 'hrupin\blog\filters\BackendFilter',
    ],
],

 php yii migrate/up --migrationPath=@vendor/hrupin/yii2-blog/migrations