seferov / blog-bundle
Symfony Blog Bundle
0.3.1
2016-04-22 07:40 UTC
Requires
- php: >=5.4
- cocur/slugify: ^2.0
- knplabs/knp-markdown-bundle: ~1.3
- sonata-project/seo-bundle: ~2.0.0
- symfony/symfony: ~2.3|~3.0
- white-october/pagerfanta-bundle: ~1.0.5
- whiteoctober/breadcrumbs-bundle: dev-master
README
Symfony Blog Bundle
安装
下载组件
composer require seferov/blog-bundle
注册
// app/AppKernel.php // ... public function registerBundles() { $bundles = array( // ... new Seferov\BlogBundle\SeferovBlogBundle(), new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(), new WhiteOctober\BreadcrumbsBundle\WhiteOctoberBreadcrumbsBundle(), new Knp\Bundle\MarkdownBundle\KnpMarkdownBundle(), new Sonata\SeoBundle\SonataSeoBundle(), ); }
导入路由
# app/config/routing.yml seferov_blog: resource: "@SeferovBlogBundle/Resources/config/routing.yml" prefix: /blog
创建数据库表
bin/console doctrine:schema:update --dump-sql
安装资源
bin/console assets:install
待办事项
- 管理员模板
- 移除大量依赖
- 编写测试
- 发布稳定版本
- 文档(特别是关于覆盖模板的部分)
- 数据集
- 合适的默认模板