2017 © Pedro Peláez
 

yii2-extension yii2-blog

Simple Blog for the Yii2 framework

image

linchpinstudios/yii2-blog

Simple Blog for the Yii2 framework

  • Monday, July 6, 2015
  • by linchpin
  • Repository
  • 5 Watchers
  • 8 Stars
  • 270 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 3 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

yii2-blog

A blog package for Yii2, (*1)

This system is setup to use linchpinstudios\yii2-filemanager, (*2)

Installation

Composer:

1) Add to your composer.json
"require": {
  // ...
  "linchpinstudios/yii2-blog": "*",
  // ...
},
2) Update Composer
php composer.phar update
3) Run Migrations

For Blog, (*3)

./yii migrate/up --migrationPath=@vendor/linchpinstudios/yii2-blog/migrations

For File Manager, (*4)

./yii migrate/up --migrationPath=@vendor/linchpinstudios/yii2-filemanager/migrations
4) Configure Module
'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, (*5)

The Versions