linchpinstudios / yii2-blog
Simple Blog for the Yii2 framework
Installs: 297
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 5
Forks: 7
Open Issues: 3
Type:yii2-extension
Requires
- 2amigos/yii2-tinymce-widget: *
- linchpinstudios/yii2-datetimepicker: dev-master
- linchpinstudios/yii2-filemanager: dev-master
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-11-23 16:34:50 UTC
README
A blog package for Yii2
This system is setup to use linchpinstudios\yii2-filemanager
Installation
Composer:
1) Add to your composer.json
``` "require": { // ... "linchpinstudios/yii2-blog": "*", // ... }, ```2) Update Composer
``` php composer.phar update ```3) Run Migrations
For Blog ``` ./yii migrate/up --migrationPath=@vendor/linchpinstudios/yii2-blog/migrations ``` For File Manager ``` ./yii migrate/up --migrationPath=@vendor/linchpinstudios/yii2-filemanager/migrations ```4) Configure Module
```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', ] // ... ], ```Usage
Instructions to come