seferov/blog-bundle

Symfony Blog Bundle

Installs: 586

Dependents: 0

Suggesters: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 1

Language:HTML

Type:symfony-bundle

0.3.1 2016-04-22 07:40 UTC

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

Examples