Angel Blog
This is a blog module for the Angel CMS., (*1)
Installation
Add the following requirements to your composer.json
file:, (*2)
"require": {
"angel/blog": "dev-master"
},
Issue a composer update
to install the package., (*3)
Add the following service provider to your providers
array in app/config/app.php
:, (*4)
'Angel\Blog\BlogServiceProvider'
Issue the following command:, (*5)
php artisan migrate --package="angel/blog" # Run the migrations
Open up your app/config/packages/angel/core/config.php
and add the blog routes to the menu
array:, (*6)
'menu' => array(
'Pages' => 'pages',
'Menus' => 'menus',
'Blog' => 'blog', // <--- Add this line
'Users' => 'users',
'Settings' => 'settings'
),
...and the menu-linkable models to the linkable_models
array:, (*7)
'linkable_models' => array(
'Page' => 'pages',
'Blog' => 'blog' // <--- Add this line
)