2017 © Pedro Peláez
 

symfony-bundle blog-bundle

Symfony Blog Bundle

image

seferov/blog-bundle

Symfony Blog Bundle

  • Sunday, May 29, 2016
  • by ferhad
  • Repository
  • 2 Watchers
  • 2 Stars
  • 582 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

BlogBundle

Symfony Blog Bundle, (*1)

Installation

Download the bundle:, (*2)

composer require seferov/blog-bundle, (*3)

Register it:, (*4)

// 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:, (*5)

# app/config/routing.yml
seferov_blog:
    resource: "@SeferovBlogBundle/Resources/config/routing.yml"
    prefix:   /blog

Create database tables:, (*6)

bin/console doctrine:schema:update --dump-sql, (*7)

Install assets:, (*8)

bin/console assets:install, (*9)

TODO

  • admin template
  • remove tons of dependencies
  • write tests
  • release stable version
  • documentation (especially about overwriting templates)
  • fixtures
  • proper default template

Examples

The Versions