Skip to content

sonofliberty/news-bundle

Repository files navigation

news-bundle

Build Status

Symfony bundle with simple blog / publishing features

Installation

  1. Install via composer

    composer require sonofliberty/news-bundle

  2. Enable bundle

    // app/AppKernel.php
    
    public function registerBundles()
    {
        return array(
            // ...
            new SonOfLiberty\NewsBundle\SonOfLibertyNewsBundle(),
            new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
            new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), // needed for translations
            // ...
        );
    }
  3. Configuration

    # app/config/config.yml
    
    son_of_liberty_news:
        author:
            class: Acme\AcmeBundle\Entity\User # optional
  4. Import routing

    # app/config/routing.yml
    
    son_of_liberty_news:
        prefix: /news
        resource: '@SonOfLibertyNewsBundle/Resources/config/routing.yaml'

About

Symfony bundle with simple blog / publishing features. This is a work in progress.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published