This bundle allow to create and view Articles.
Tell composer to require PvesselArticleBundle by running the command:
$ php composer.phar require "pvessel/article-bundle:dev-master"Composer will install the bundle to your project's vendor/pvessel/article-bundle directory.
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Pvessel\ArticleBundle\PvesselArticleBundle(),
);
}Add to your routing.yml
article:
resource: "@PvesselArticleBundle/Controller"
type: annotationIn order to work with this bundle you must update your database (and create one if you don't use it yet).
$ app/console doctrine:schema:update --dump-sqlRun your web server and browser and try it! ( use /article path to start)