PHP code example of amelexik / yii2-yee-post

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

    

amelexik / yii2-yee-post example snippets


yii migrate --migrationPath=@vendor/yeesoft/yii2-yee-post/migrations/

'modules'=>[
	'post' => [
		'class' => 'yeesoft\post\PostModule',
	],
],

echo \yeesoft\post\widgets\dashboard\Posts::widget();