ppb / blog-bundle
Blog bundle
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Type:symfony-bundle
pkg:composer/ppb/blog-bundle
Requires
- php: >=5.3.2
 - friendsofsymfony/user-bundle: *
 - gedmo/doctrine-extensions: dev-master
 - knplabs/knp-menu: dev-master@dev
 - knplabs/knp-menu-bundle: dev-master@dev
 - mopa/bootstrap-bundle: 2.2.*@dev
 
Requires (Dev)
- symfony/framework-bundle: >=2.1,<2.2-dev
 - symfony/symfony: >=2.1,<2.4-dev
 
This package is auto-updated.
Last update: 2025-10-09 03:51:55 UTC
README
Symfony2 blog bundle based on the WordPress.
Some Features include:
- URLs SEO friendly
 - Custom Taxonomies
 - Blog archive
 
Bundle Installation
Get the bundle
Add to your /composer.json file :
    "require": {
        ...
        "ppb/blog-bundle": "dev-master"
    },
And make
composer update
Register the bundle
<?php
  // app/AppKernel.php
  public function registerBundles()
  {
    return array(
      // ...
      new PPB\BlogBundle\PPBBlogBundle(),
      );
  }
Add routes
In your routing.yml you need to publish Backend and Frontend in your prefered paths
ppb_blog_frontend:
    resource: "@PPBBlogBundle/Controller/Frontend/"
    type:     annotation
    prefix:   /
ppb_blog_backend:
    resource: "@PPBBlogBundle/Controller/Backend/"
    type:     annotation
    prefix:   /admin
Setting variables
You need to add something like this in your config.yml
ppb_blog:
    post_types:
        post:
            name: Post
            slug: post
            supports: [title, content]
        page:
            name: Page
            slug: page
            supports: [title, content, parent]
    taxonomies:
        category:
            name: Category
            slug: category
            object_type: [post]
        tag:
            name: Tag
            slug: tag
            object_type: [post, page]
Contact
You can contact with me on twitter.