yii2-blog
A blog package for Yii2
This system is setup to use linchpinstudios\yii2-filemanager
Installation
Composer:
``` "require": { // ... "linchpinstudios/yii2-blog": "*", // ... }, ``` 1) Add to your composer.json
``` php composer.phar update ``` 2) Update Composer
For Blog ``` ./yii migrate/up --migrationPath=@vendor/linchpinstudios/yii2-blog/migrations ``` For File Manager ``` ./yii migrate/up --migrationPath=@vendor/linchpinstudios/yii2-filemanager/migrations ``` 3) Run Migrations
```php 'modules' => [ // ... 'filemanager' => [ 'class' => 'linchpinstudios\filemanager\Module', 'aws' => [ 'enable' => true, 'key' => 'YOUR_AWS_KEY', 'secret' => 'YOUR_AWS_SECRET', 'bucket' => 'YOUR_AWS_BUCKET', 'url' => 'YOUR_AWS_URL', //either s3 buket URL or CloudFront (can be changed) ], ], 'blog' => [ 'class' => 'linchpinstudios\blog\Module', ] // ... ], ``` 4) Configure Module
Usage
Instructions to come