cpana/basicblogbundle
Composer 安装命令:
composer require cpana/basicblogbundle
包简介
Symfony Basic Blog Bundle
README 文档
README
#BasicBlogBundle
This bundle is indented for projects who need some basic blog features. Please see below a list of features already included:
Front side
- view all blog posts with pagination
- view individual blog posts and their comments
- add comments
Admin
- create new post. includes tags and uploading photo
- manage all blog posts with Edit and Delete options.
- manage comments with options to Approve/Unapprove or Delete.
#Installation
Install using Composer:
composer require cpana/basicblogbundle:dev-master
Register the bundle in AppKernel.php by adding:
new CPANA\BasicBlogBundle\CPANABasicBlogBundle(),
Import paths in app/config/routing.yml by adding:
CPANABasicBlogBundle:
resource: "@CPANABasicBlogBundle/Resources/config/routing.yml"
Make sure to have configured your database in app/config/parameters.yml Generate you schema using console:
php app/console cache:clear
php app/console doctrine:schema:update --force
#Usage
Go to browser and navigate to "your website/app_dev.php/admin/blog" Add a blog post and then go to "your website/app_dev.php/blog" to see the results.
统计信息
- 总下载量: 62
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-24