seferov / blog-bundle
Symfony Blog Bundle
Installs: 589
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 1
Language:HTML
Type:symfony-bundle
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
Installation
Download the bundle:
composer require seferov/blog-bundle
Register it:
// 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(),
);
}
Import routing:
# app/config/routing.yml
seferov_blog:
resource: "@SeferovBlogBundle/Resources/config/routing.yml"
prefix: /blog
Create database tables:
bin/console doctrine:schema:update --dump-sql
Install assets:
bin/console assets:install
TODO
- admin template
- remove tons of dependencies
- write tests
- release stable version
- documentation (especially about overwriting templates)
- fixtures
- proper default template