webtown-php / KunstmaanExtensionBundle

Some new Kunstmaan features
MIT License
2 stars 1 forks source link

WebtownKunstmaanExtensionBundle

This bundle add new feature to KunstmaanCMSBundle:

Install

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require webtown/kunstmaan-extension-bundle 

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Webtown\KunstmaanExtensionBundle\WebtownKunstmaanExtensionBundle(),
            new JMS\TranslationBundle\JMSTranslationBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Add the route

Add the route to app/config/routing.yml:

#KunstmaanExtensionBundle
KunstmaanExtensionBundle:
    resource: "@WebtownKunstmaanExtensionBundle/Resources/config/routing.yml"
    prefix:   /

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.