polishsymfonycommunity / blog-bundle
此包已被放弃,不再维护。未建议替代包。
基于WordPress数据库的博客包。
dev-master
2012-08-06 16:33 UTC
Requires
- php: >=5.3.2
- doctrine/orm: 2.1.*
- knplabs/knp-paginator-bundle: *
- sensio/framework-extra-bundle: 2.0.*@dev
- symfony/symfony: 2.0.*
Requires (Dev)
- behat/behat: >=2.4
- behat/common-contexts: *@dev
- behat/mink: >=1.4
- behat/mink-browserkit-driver: *
- behat/mink-extension: *
- behat/symfony2-extension: *
- benwaine/phabric: *@dev
This package is auto-updated.
Last update: 2022-02-01 12:20:35 UTC
README
基于WordPress数据库模型的Symfony2博客包。
安装
将PSSBlogBundle添加到您的composer.json
{ "require": { "polishsymfonycommunity/blog-bundle": "*" } }
启用包
在内核中(app/AppKernel.php
)启用PSSBlogBundle和KnpPaginatorBundle包
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(), new PSS\Bundle\BlogBundle\PSSBlogBundle() ); }