angel/blog
Composer 安装命令:
composer require angel/blog
包简介
README 文档
README
This is a blog module for the Angel CMS.
Installation
Add the following requirements to your composer.json file:
"require": { "angel/blog": "dev-master" },
Issue a composer update to install the package.
Add the following service provider to your providers array in app/config/app.php:
'Angel\Blog\BlogServiceProvider'
Issue the following command:
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:
'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:
'linkable_models' => array( 'Page' => 'pages', 'Blog' => 'blog' // <--- Add this line )
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-08-20