seferov/blog-bundle

Symfony Blog Bundle

Installs: 587

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 4

Forks: 0

Open Issues: 1

Language:HTML

Type:symfony-bundle

0.3.1 2016-04-22 07:40 UTC

This package is auto-updated.

Last update: 2024-03-29 03:31:37 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