This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
There is no license information available for the latest version (v0.8.0) of this package.

Symfony GlavwebCompositeObjectBundle.

v0.8.0 2018-05-04 09:02 UTC

This package is auto-updated.

Last update: 2021-11-23 21:15:17 UTC


Get the bundle using composer

Add GlavwebCompositeObjectBundle by running this command from the terminal at the root of your Symfony project:

php composer.phar require glavweb/composite-object-bundle

Enable the bundle

To start using the bundle, register the bundle in your application's kernel class:

// app/AppKernel.php
public function registerBundles()
    $bundles = array(
        // ...
        new Glavweb\CompositeObjectBundle\GlavwebCompositeObjectBundle(),
        // ...

Configure the bundle

Add DBAL type to Doctrine:

            CompositeObjectFieldType: Glavweb\CompositeObjectBundle\DBAL\Types\Object\CompositeObjectFieldType

To enable the dynamic routes, add the following to your routing configuration file:

#  app/config/routing.yml

    resource: "@GlavwebCompositeObjectBundle/Resources/config/routing.yml"
    prefix:   /