coopTilleuls / CoopTilleulsCKEditorSonataMediaBundle

Integrates SonataMediaBundle for Symfony with CKEditor
http://les-tilleuls.coop
MIT License
53 stars 41 forks source link

unable to find the route #13

Closed roozbeh360 closed 10 years ago

roozbeh360 commented 10 years ago

after click on browse server button i am getting this error : An exception has been thrown during the rendering of a template ("unable to find the route sonata.media.admin.media.browser") in CoopTilleulsCKEditorSonataMediaBundle:MediaAdmin:browser.html.twig at line 32.

and i am using these bundles

    "sonata-project/media-bundle": "dev-master",
    "tilleuls/ckeditor-sonata-media-bundle": "dev-master",
    "egeloen/ckeditor-bundle": "2.*"
meyerbaptiste commented 10 years ago

I can't reproduce your bug. Do you use sonata-admin ? If not, it's normal. Otherwise, can you give me the result of composer show -i and more details about your configuration ?

roozbeh360 commented 10 years ago
$ composer.phar show -i
doctrine/annotations                     v1.2.0             Docblock Annotations Parser
doctrine/cache                           v1.3.0             Caching library offering an object-oriented API for many cache ...
doctrine/collections                     v1.2               Collections Abstraction library
doctrine/common                          v2.4.2             Common Library for Doctrine projects
doctrine/dbal                            v2.4.2             Database Abstraction Layer
doctrine/doctrine-bundle                 v1.2.0             Symfony DoctrineBundle
doctrine/inflector                       v1.0               Common String Manipulations with regard to casing and singular/...
doctrine/lexer                           v1.0               Base library for a lexer that can be used in Top-Down, Recursiv...
doctrine/orm                             v2.4.4             Object-Relational-Mapper for PHP
egeloen/ckeditor-bundle                  2.4.0              Provides a CKEditor integration for your Symfony2 Project.
egeloen/json-builder                     1.0.1              JSON builder with escaping control for PHP 5.3+
friendsofsymfony/rest-bundle             1.4.1              This Bundle provides various tools to rapidly develop RESTful A...
friendsofsymfony/user-bundle             dev-master ef7ca32 Symfony FOSUserBundle
imagine/imagine                          v0.6.1             Image processing for PHP 5.3
incenteev/composer-parameter-handler     v2.1.0             Composer script handling your ignored parameter file
jdorn/sql-formatter                      v1.2.17            a PHP SQL highlighting library
jms/metadata                             1.5.1              Class/method/property metadata management in PHP
jms/parser-lib                           1.0.0              A library for easily creating recursive-descent parsers.
jms/serializer                           0.16.0             Library for (de-)serializing data of any complexity; supports X...
jms/serializer-bundle                    0.13.0             Allows you to easily serialize, and deserialize data of any com...
knplabs/gaufrette                        v0.1.8             PHP5 library that provides a filesystem abstraction layer
knplabs/knp-menu                         v1.1.2             An object oriented menu library
knplabs/knp-menu-bundle                  v1.1.2             This bundle provides an integration of the KnpMenu library
kriswallsmith/assetic                    v1.1.2             Asset Management for PHP
kriswallsmith/buzz                       v0.10              Lightweight HTTP client
michelf/php-markdown                     1.4.1              PHP Markdown
monolog/monolog                          1.10.0             Sends your logs to files, sockets, inboxes, databases and vario...
nelmio/api-doc-bundle                    2.6.0              Generates documentation for your REST API from annotations
phpcollection/phpcollection              0.4.0              General-Purpose Collection Library for PHP
phpoption/phpoption                      1.4.0              Option Type for PHP
psr/log                                  1.0.0              Common interface for logging libraries
sensio/distribution-bundle               v3.0.2             The base bundle for the Symfony Distributions
sensio/framework-extra-bundle            v3.0.1             This bundle provides a way to configure your controllers with a...
sensio/generator-bundle                  v2.3.5             This bundle generates code for you
sonata-project/admin-bundle              dev-master d5b8fa7 Symfony SonataAdminBundle
sonata-project/block-bundle              2.2.12             Symfony SonataBlockBundle
sonata-project/cache                     1.0.3              Cache library
sonata-project/core-bundle               2.2.6              Symfony SonataCoreBundle
sonata-project/doctrine-extensions       1.0.2              Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle dev-master 2705f19 Symfony Sonata / Integrate Doctrine ORM into the SonataAdminBundle
sonata-project/easy-extends-bundle       2.1.6              Symfony SonataEasyExtendsBundle
sonata-project/exporter                  1.3.3              Lightweight Exporter library
sonata-project/intl-bundle               2.2.1              Symfony SonataIntlBundle
sonata-project/jquery-bundle             dev-master 8db2fbc Symfony SonatajQueryBundle
sonata-project/media-bundle              dev-master 61d62cd Symfony SonataMediaBundle
sonata-project/notification-bundle       2.2.6              Symfony SonataNotificationBundle
swiftmailer/swiftmailer                  v5.2.1             Swiftmailer, free feature-rich PHP mailer
symfony/assetic-bundle                   v2.3.0             Integrates Assetic into Symfony2
symfony/icu                              v1.0.1             Contains an excerpt of the ICU data and classes to load it.
symfony/monolog-bundle                   v2.6.1             Symfony MonologBundle
symfony/swiftmailer-bundle               v2.3.7             Symfony SwiftmailerBundle
symfony/symfony                          v2.5.2             The Symfony PHP framework
tilleuls/ckeditor-sonata-media-bundle    dev-master 1284ea3 Integrates SonataMediaBundle with CKEditor
twig/extensions                          v1.1.0             Common additional features for Twig that do not directly belong...
twig/twig                                v1.16.0            Twig, the flexible, fast, and secure template language for PHP
willdurand/jsonp-callback-validator      v1.1.0             JSONP callback validator.
willdurand/negotiation                   1.3.3              Content Negotiation tools for PHP provided as a standalone libr...
roozbeh360 commented 10 years ago
sonata_block:
    default_contexts: [cms]
    blocks:
        # Enable the SonataAdminBundle block
        sonata.admin.block.admin_list:
            contexts:   [admin]
        # Your other blocks

sonata_admin:
    title:      Acme Demo Bundle
    title_logo: bundles/acmedemo/img/fancy_acme_logo.png
    templates:
        # default global templates
        layout:  SonataAdminBundle::standard_layout.html.twig
        ajax:    SonataAdminBundle::ajax_layout.html.twig
        # default actions templates, should extend a global templates
        list:    SonataAdminBundle:CRUD:list.html.twig
        show:    SonataAdminBundle:CRUD:show.html.twig
        edit:    SonataAdminBundle:CRUD:edit.html.twig

sonata_media:
    # if you don't use default namespace configuration
    #class:
    #    media: MyVendor\MediaBundle\Entity\Media
    #    gallery: MyVendor\MediaBundle\Entity\Gallery
    #    gallery_has_media: MyVendor\MediaBundle\Entity\GalleryHasMedia
    default_context: default
    db_driver: doctrine_orm # or doctrine_mongodb, doctrine_phpcr
    contexts:
        default:  # the default context is mandatory
            providers:
                - sonata.media.provider.dailymotion
                - sonata.media.provider.youtube
                - sonata.media.provider.image
                - sonata.media.provider.file

            formats:
                small: { width: 100 , quality: 70}
                big:   { width: 500 , quality: 70}

    cdn:
        server:
            path: /uploads/media # http://media.sonata-project.org/

    filesystem:
        local:
            directory:  %kernel.root_dir%/../web/uploads/media
            create:     false                

ivory_ck_editor:
    default_config: default
    configs:
        default:
            filebrowserBrowseRoute: admin_sonata_media_media_browser
            filebrowserImageBrowseRoute: admin_sonata_media_media_browser
            # Display images by default when clicking the image dialog browse button
            filebrowserImageBrowseRouteParameters:
                provider: sonata.media.provider.image
            filebrowserUploadRoute: admin_sonata_media_media_upload
            filebrowserUploadRouteParameters:
                provider: sonata.media.provider.file
            # Upload file as image when sending a file from the image dialog
            filebrowserImageUploadRoute: admin_sonata_media_media_upload
            filebrowserImageUploadRouteParameters:
                provider: sonata.media.provider.image
                context: my-context # Optional, to upload in a custom context 

and my appkernel.php

public function registerBundles()
    {
        $bundles = array(
            new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
            new Symfony\Bundle\SecurityBundle\SecurityBundle(),
            new Symfony\Bundle\TwigBundle\TwigBundle(),
            new Symfony\Bundle\MonologBundle\MonologBundle(),
            new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
            new Symfony\Bundle\AsseticBundle\AsseticBundle(),
            new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
            new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
            new Leapmotion\DefaultBundle\LeapmotionDefaultBundle(),
            new Leapmotion\ManagerBundle\LeapmotionManagerBundle(),
            new FOS\UserBundle\FOSUserBundle(),
             // Add your dependencies
            new Sonata\CoreBundle\SonataCoreBundle(),
            new Sonata\BlockBundle\SonataBlockBundle(),
           // new Sonata\jQueryBundle\SonatajQueryBundle(),
            new Sonata\jQueryBundle\SonatajQueryBundle(),
            new Knp\Bundle\MenuBundle\KnpMenuBundle(),
            // If you haven't already, add the storage bundle
            // This example uses SonataDoctrineORMAdmin but
            // it works the same with the alternatives
            new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(),
            // Then add SonataAdminBundle
            new Sonata\EasyExtendsBundle\SonataEasyExtendsBundle(),
            new Sonata\AdminBundle\SonataAdminBundle(),
            new Sonata\IntlBundle\SonataIntlBundle(),
            new Sonata\MediaBundle\SonataMediaBundle(),
          //  new Application\Sonata\MediaBundle\ApplicationSonataMediaBundle,
            new \Application\Sonata\MediaBundle\ApplicationSonataMediaBundle,

            new CoopTilleuls\Bundle\CKEditorSonataMediaBundle\CoopTilleulsCKEditorSonataMediaBundle(),

            new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
        );

        if (in_array($this->getEnvironment(), array('dev', 'test'))) {
            $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
            $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
            $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
        }

        return $bundles;
    }
kranikitao commented 10 years ago

i have similar problem. Help, please)

meyerbaptiste commented 10 years ago

I can't reproduce, please create a small Symfony project reproducing your issue.

kranikitao commented 10 years ago

I dont know what i did, but i solved it)) maybe i forgot clear cache before.

Isarien commented 10 years ago

I post on this issue because I had the same problem on my project. So as you write here, i create a new project with a fresh install of the latest version of symfony, but I have the same error :

An exception has been thrown during the rendering of a template ("unable to find the route sonata.media.admin.media.browser") in CoopTilleulsCKEditorSonataMediaBundle:MediaAdmin:browser.html.twig at line 32.

here is my appKernel.php :

  public function registerBundles() {
    $bundles = array(
        new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
        new Symfony\Bundle\SecurityBundle\SecurityBundle(),
        new Symfony\Bundle\TwigBundle\TwigBundle(),
        new Symfony\Bundle\MonologBundle\MonologBundle(),
        new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
        new Symfony\Bundle\AsseticBundle\AsseticBundle(),
        new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
        new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
        new JMS\SerializerBundle\JMSSerializerBundle(),
        new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(),
        new Sonata\CoreBundle\SonataCoreBundle(),
        new Sonata\BlockBundle\SonataBlockBundle(),
        new Knp\Bundle\MenuBundle\KnpMenuBundle(),
        new Sonata\AdminBundle\SonataAdminBundle(),
        new Sonata\IntlBundle\SonataIntlBundle(),
        new Sonata\MediaBundle\SonataMediaBundle(),
        new Sonata\EasyExtendsBundle\SonataEasyExtendsBundle(),
        new Application\Sonata\MediaBundle\ApplicationSonataMediaBundle(),
        new CoopTilleuls\Bundle\CKEditorSonataMediaBundle\CoopTilleulsCKEditorSonataMediaBundle(),
        new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
    );

    if (in_array($this->getEnvironment(), array('dev', 'test'))) {
      $bundles[] = new Acme\DemoBundle\AcmeDemoBundle();
      $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
      $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
      $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
    }

    return $bundles;
  }

my config.yml :

imports:
  - { resource: parameters.yml }
  - { resource: security.yml }

framework:
  secret:          "%secret%"
  router:
    resource: "%kernel.root_dir%/config/routing.yml"
    strict_requirements: ~
  form:            ~
  csrf_protection: ~
  validation:      { enable_annotations: true }
  templating:
    engines: ['twig']
        #assets_version: SomeVersionScheme
  default_locale:  "%locale%"
  trusted_hosts:   ~
  trusted_proxies: ~
  session:
        # handler_id set to null will use default session handler from php.ini
    handler_id:  ~
  fragments:       ~
  http_method_override: true

# Twig Configuration
twig:
  debug:            "%kernel.debug%"
  strict_variables: "%kernel.debug%"

# Assetic Configuration
assetic:
  debug:          "%kernel.debug%"
  use_controller: false
  bundles:        [ ]
    #java: /usr/bin/java
  filters:
    cssrewrite: ~
        #closure:
        #    jar: "%kernel.root_dir%/Resources/java/compiler.jar"
        #yui_css:
        #    jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"

# Swiftmailer Configuration
swiftmailer:
  transport: "%mailer_transport%"
  host:      "%mailer_host%"
  username:  "%mailer_user%"
  password:  "%mailer_password%"
  spool:     { type: memory }

ivory_ck_editor:
  default_config: default
  configs:
    default:
      filebrowserBrowseRoute: admin_sonata_media_media_browser
      filebrowserImageBrowseRoute: admin_sonata_media_media_browser
            # Display images by default when clicking the image dialog browse button
      filebrowserImageBrowseRouteParameters:
        provider: sonata.media.provider.image
      filebrowserUploadRoute: admin_sonata_media_media_upload
      filebrowserUploadRouteParameters:
        provider: sonata.media.provider.file
            # Upload file as image when sending a file from the image dialog
      filebrowserImageUploadRoute: admin_sonata_media_media_upload
      filebrowserImageUploadRouteParameters:
        provider: sonata.media.provider.image
        context: my-context # Optional, to upload in a custom context  

sonata_block:
  default_contexts: [cms]
  blocks:
    # Enable the SonataAdminBundle block
    sonata.admin.block.admin_list:
      contexts:   [admin]
doctrine:
  orm:
    entity_managers:
      default:
        mappings:
          ApplicationSonataMediaBundle: ~   
          SonataMediaBundle: ~
  dbal:
    driver:   "%database_driver%"
    host:     "%database_host%"
    port:     "%database_port%"
    dbname:   "%database_name%"
    user:     "%database_user%"
    password: "%database_password%"
    charset:  UTF8
    types:
      json: Sonata\Doctrine\Types\JsonType     

sonata_media:
    # if you don't use default namespace configuration
    #class:
    #    media: MyVendor\MediaBundle\Entity\Media
    #    gallery: MyVendor\MediaBundle\Entity\Gallery
    #    gallery_has_media: MyVendor\MediaBundle\Entity\GalleryHasMedia
  default_context: default
  db_driver: doctrine_orm 
  contexts:
    default:  # the default context is mandatory
      providers:
        - sonata.media.provider.dailymotion
        - sonata.media.provider.youtube
        - sonata.media.provider.image
        - sonata.media.provider.file

      formats:
        small: { width: 100 , quality: 70}
        big:   { width: 500 , quality: 70}

  cdn:
    server:
      path: /uploads/media # http://media.sonata-project.org/

  filesystem:
    local:
      directory:  %kernel.root_dir%/../web/uploads/media
      create:     false   
  providers:
    image:
      resizer: sonata.media.resizer.square   

and composer show -i :

doctrine/annotations                     v1.2.1             Docblock Annotations Parser
doctrine/cache                           v1.3.1             Caching library offering an object-oriented API ...
doctrine/collections                     v1.2               Collections Abstraction library
doctrine/common                          v2.4.2             Common Library for Doctrine projects
doctrine/dbal                            v2.4.2             Database Abstraction Layer
doctrine/doctrine-bundle                 v1.2.0             Symfony DoctrineBundle
doctrine/inflector                       v1.0               Common String Manipulations with regard to casin...
doctrine/lexer                           v1.0               Base library for a lexer that can be used in Top...
doctrine/orm                             v2.4.5             Object-Relational-Mapper for PHP
egeloen/ckeditor-bundle                  2.5.0              Provides a CKEditor integration for your Symfony...
egeloen/json-builder                     1.0.2              JSON builder with escaping control for PHP 5.3+
friendsofsymfony/rest-bundle             1.4.2              This Bundle provides various tools to rapidly de...
friendsofsymfony/user-bundle             dev-master 3be6e7b Symfony FOSUserBundle
gedmo/doctrine-extensions                v2.3.9             Doctrine2 behavioral extensions
imagine/imagine                          v0.6.1             Image processing for PHP 5.3
incenteev/composer-parameter-handler     v2.1.0             Composer script handling your ignored parameter ...
jdorn/sql-formatter                      v1.2.17            a PHP SQL highlighting library
jms/metadata                             1.5.1              Class/method/property metadata management in PHP
jms/parser-lib                           1.0.0              A library for easily creating recursive-descent ...
jms/serializer                           0.16.0             Library for (de-)serializing data of any complex...
jms/serializer-bundle                    0.13.0             Allows you to easily serialize, and deserialize ...
knplabs/gaufrette                        v0.1.8             PHP5 library that provides a filesystem abstract...
knplabs/knp-menu                         v2.0.1             An object oriented menu library
knplabs/knp-menu-bundle                  v2.0.0             This bundle provides an integration of the KnpMe...
kriswallsmith/assetic                    v1.1.2             Asset Management for PHP
kriswallsmith/buzz                       v0.13              Lightweight HTTP client
michelf/php-markdown                     1.4.1              PHP Markdown
monolog/monolog                          1.11.0             Sends your logs to files, sockets, inboxes, data...
nelmio/api-doc-bundle                    2.7.0              Generates documentation for your REST API from a...
phpcollection/phpcollection              0.4.0              General-Purpose Collection Library for PHP
phpoption/phpoption                      1.4.0              Option Type for PHP
psr/log                                  1.0.0              Common interface for logging libraries
sensio/distribution-bundle               v3.0.2             The base bundle for the Symfony Distributions
sensio/framework-extra-bundle            v3.0.2             This bundle provides a way to configure your con...
sensio/generator-bundle                  v2.4.0             This bundle generates code for you
sonata-project/admin-bundle              2.3.0              Symfony SonataAdminBundle
sonata-project/block-bundle              2.2.13             Symfony SonataBlockBundle
sonata-project/cache                     1.0.4              Cache library
sonata-project/core-bundle               2.3.0              Symfony SonataCoreBundle
sonata-project/doctrine-extensions       1.0.2              Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 2.3.0              Symfony Sonata / Integrate Doctrine ORM into the...
sonata-project/easy-extends-bundle       2.1.9              Symfony SonataEasyExtendsBundle
sonata-project/exporter                  1.3.4              Lightweight Exporter library
sonata-project/intl-bundle               2.2.1              Symfony SonataIntlBundle
sonata-project/media-bundle              2.3.0              Symfony SonataMediaBundle
sonata-project/notification-bundle       2.3.0              Symfony SonataNotificationBundle
stof/doctrine-extensions-bundle          dev-master 2ff8473 Integration of the gedmo/doctrine-extensions wit...
swiftmailer/swiftmailer                  v5.3.0             Swiftmailer, free feature-rich PHP mailer
symfony/assetic-bundle                   v2.3.0             Integrates Assetic into Symfony2
symfony/icu                              v1.2.2             Contains an excerpt of the ICU data and classes ...
symfony/monolog-bundle                   v2.6.1             Symfony MonologBundle
symfony/swiftmailer-bundle               v2.3.7             Symfony SwiftmailerBundle
symfony/symfony                          v2.5.5             The Symfony PHP framework
tilleuls/ckeditor-sonata-media-bundle    dev-master 4fa7a46 Integrates SonataMediaBundle with CKEditor
twig/extensions                          v1.1.0             Common additional features for Twig that do not ...
twig/twig                                v1.16.0            Twig, the flexible, fast, and secure template la...
willdurand/jsonp-callback-validator      v1.1.0             JSONP callback validator.
willdurand/negotiation                   1.3.4              Content Negotiation tools for PHP provided as a ...

Thank you for your help.

Olivier

meyerbaptiste commented 10 years ago

I can't reproduce with the same configuration and the same versions. Please, create a public repository with a symfony project that reproduces the issue!

Isarien commented 10 years ago

Ok,

I create the repository here :

https://github.com/Isarien/CoopTilleulsCKEditorSonataMediaBundle-issue8

Thank you

Olivier

meyerbaptiste commented 10 years ago

You need to add this in your app/config/routing.yml file:

admin:
    resource:   '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
    prefix:     /admin

_sonata_admin:
    resource:   .
    type:       sonata_admin
    prefix:     /admin

Note that this bundle has been made to integrate Sonata Media with CKEditor in admins using Sonata Admin.

Isarien commented 10 years ago

Thank you. Now It works.

hoannv commented 9 years ago

I have same issue. I try above solutions, but I didn't get it works

cocur/slugify                            dev-master cdd2426 Converts a string into a slug.
doctrine/annotations                     v1.2.6             Docblock Annotations Parser
doctrine/cache                           v1.4.1             Caching library offering an object-oriented API for many cache backends
doctrine/collections                     v1.3.0             Collections Abstraction library
doctrine/common                          v2.5.0             Common Library for Doctrine projects
doctrine/data-fixtures                   v1.1.1             Data Fixtures for all Doctrine Object Managers
doctrine/dbal                            v2.4.4             Database Abstraction Layer
doctrine/doctrine-bundle                 v1.5.0             Symfony DoctrineBundle
doctrine/doctrine-cache-bundle           v1.0.1             Symfony2 Bundle for Doctrine Cache
doctrine/doctrine-fixtures-bundle        dev-master c5ff054 Symfony DoctrineFixturesBundle
doctrine/inflector                       v1.0.1             Common String Manipulations with regard to casing and singular/plural rules.
doctrine/lexer                           v1.0.1             Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
doctrine/orm                             v2.4.7             Object-Relational-Mapper for PHP
egeloen/ckeditor-bundle                  2.5.2              Provides a CKEditor integration for your Symfony2 Project.
egeloen/json-builder                     1.0.3              JSON builder with escaping control for PHP 5.3+
friendsofsymfony/jsrouting-bundle        dev-master fbc7c38 A pretty nice way to expose your Symfony2 routing to client applications.
friendsofsymfony/rest-bundle             1.7.1              This Bundle provides various tools to rapidly develop RESTful API's with Symfony2
friendsofsymfony/user-bundle             dev-master 3efbc08 Symfony FOSUserBundle
imagine/imagine                          0.6.2              Image processing for PHP 5.3
incenteev/composer-parameter-handler     v2.1.1             Composer script handling your ignored parameter file
jdorn/sql-formatter                      v1.2.17            a PHP SQL highlighting library
jms/metadata                             1.5.1              Class/method/property metadata management in PHP
jms/parser-lib                           1.0.0              A library for easily creating recursive-descent parsers.
jms/serializer                           0.16.0             Library for (de-)serializing data of any complexity; supports XML, JSON, and YAML.
jms/serializer-bundle                    0.13.0             Allows you to easily serialize, and deserialize data of any complexity
knplabs/gaufrette                        v0.1.9             PHP5 library that provides a filesystem abstraction layer
knplabs/knp-menu                         v2.0.1             An object oriented menu library
knplabs/knp-menu-bundle                  v2.0.0             This bundle provides an integration of the KnpMenu library
kriswallsmith/assetic                    v1.2.1             Asset Management for PHP
kriswallsmith/buzz                       v0.14              Lightweight HTTP client
liip/imagine-bundle                      dev-master 64c1c43 This Bundle assists in imagine manipulation using the imagine library
michelf/php-markdown                     1.5.0              PHP Markdown
monolog/monolog                          1.13.1             Sends your logs to files, sockets, inboxes, databases and various web services
nelmio/api-doc-bundle                    2.9.0              Generates documentation for your REST API from annotations
phpcollection/phpcollection              0.4.0              General-Purpose Collection Library for PHP
phpoption/phpoption                      1.4.0              Option Type for PHP
psr/log                                  1.0.0              Common interface for logging libraries
sensio/distribution-bundle               v3.0.30            Base bundle for Symfony Distributions
sensio/framework-extra-bundle            v3.0.9             This bundle provides a way to configure your controllers with annotations
sensio/generator-bundle                  v2.5.3             This bundle generates code for you
sensiolabs/security-checker              v2.0.5             A security checker for your composer.lock
sonata-project/admin-bundle              2.3.3              Symfony SonataAdminBundle
sonata-project/block-bundle              2.2.13             Symfony SonataBlockBundle
sonata-project/cache                     1.0.6              Cache library
sonata-project/core-bundle               2.3.4              Symfony SonataCoreBundle
sonata-project/doctrine-extensions       1.0.2              Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 2.3.2              Symfony Sonata / Integrate Doctrine ORM into the SonataAdminBundle
sonata-project/easy-extends-bundle       2.1.9              Symfony SonataEasyExtendsBundle
sonata-project/exporter                  1.3.4              Lightweight Exporter library
sonata-project/intl-bundle               2.2.2              Symfony SonataIntlBundle
sonata-project/media-bundle              2.3.1              Symfony SonataMediaBundle
sonata-project/notification-bundle       2.3.0              Symfony SonataNotificationBundle
swiftmailer/swiftmailer                  v5.4.1             Swiftmailer, free feature-rich PHP mailer
symfony/assetic-bundle                   v2.6.1             Integrates Assetic into Symfony2
symfony/monolog-bundle                   v2.7.1             Symfony MonologBundle
symfony/swiftmailer-bundle               v2.3.8             Symfony SwiftmailerBundle
symfony/symfony                          v2.6.9             The Symfony PHP framework
tilleuls/ckeditor-sonata-media-bundle    dev-master 2b7d5ef Integrates SonataMediaBundle with CKEditor
twig/extensions                          v1.2.0             Common additional features for Twig that do not directly belong in core
twig/twig                                v1.18.2            Twig, the flexible, fast, and secure template language for PHP
willdurand/jsonp-callback-validator      v1.1.0             JSONP callback validator.
willdurand/negotiation                   1.3.4              Content Negotiation tools for PHP provided as a standalone library.

admin:
    resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
    prefix: /admin

_sonata_admin:
    resource: .
    type: sonata_admin
    prefix: /admin