Skip to content
Nek- edited this page Mar 4, 2013 · 11 revisions

Get files

Installation for Symfony 2.1 (with composer, recommended)

In your composer.json file, add this:

{
    "require": {
        # ... Other deps ...
        "nekland/feed-bundle": "*"
    }
}

Then in your console just do a composer update:

composer update nekland/feed-bundle

It will install automatically the bundle.

Installation for Symfony 2.0 (with deps)

First you need to add the FeedBundle to your project. So let's edit the /deps file and add this dep at the end of the file:

[FeedBundle]
    git=http://github.com/Nek-/FeedBundle.git
    target=/bundles/Nekland/FeedBundle
    version=1.2.0

Then, you need to execute this command in a terminal :

php bin/vendors update
        $loader->registerNamespaces(array(
            // ...
            'Nekland'          => __DIR__.'/../vendor/bundles',
            // ...
        ));

Add FeedBundle to your Symfony 2 project

  1. Edit the app/AppKernel.php file and add this line:

     $bundles = array(
         // ...
         new Nekland\Bundle\FeedBundle\NeklandFeedBundle(),
         // ...
     );
    
  2. Congratulation, you've just installed NeklandFeedBundle

Don't forget to create the required folder

mkdir web/feeds