Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Symfony bundle for the sluggable behavior of @guilhermeblanco
PHP
Tree: 8c068436f6

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
DependencyInjection
Resources
DoctrineExtensionsSluggableBundle.php
README.markdown
VERSION.markdown

README.markdown

A Symfony bundle that acts as a configuration layer for the sluggable extension of Guilherme Blanco.

Installation

  1. Download the Sluggable extension to vendor/doctrine-sluggable-extension.
  2. Add both the extension and the bundle to the autoloader:

    <?php
    // add the extension source to your autoload.php
    $loader->registerNamespaces(array('DoctrineExtensions\\Sluggable'               => __DIR__ . '/../vendor/doctrine-sluggable-functional-behavior/lib'
                                     ,'DoctrineExtensions\\Bundle\\SluggableBundle' => __DIR__ . '/../vendor/bundles/DoctrineExtensions/Bundle'
                                     ));
  3. Register your bundle in the kernel:

    <?php
    // add this to your
    public function registerBundles ()
    {
      return array(// all the framework bundles
                  ,new DoctrineExtensions\Bundle\SluggableBundle\DoctrineExtensionsSluggableBundle
                  );
    }

Documentation

Enabling the bundle should be sufficient for most default setups. If however you wish to configure the extension further you should refer to the full (configuration) documentation distributed with this bundle.

License

The bundle is released under the MIT license. For more information see the license file distibuted with this bundle.

Something went wrong with that request. Please try again.