Archives de
Tag: en

Symfony2.1 + sonata-admin + sonata-user +fos-userbundle [EN]

Symfony2.1 + sonata-admin + sonata-user +fos-userbundle [EN]

Hy, everybody, today we will see how to install Symfony2.1 and the following bundles: FOSUserBundle SonataAdminBundle SonataUserBundle tl;dr: There is a GitHub repository with the project. The first step is to create the project with the following command line: composer create-project symfony/framework-standard-edition sonataadmin.fr Then we edit the composer.json file to add the bundles: « sonata-project/admin-bundle »: « dev-master », « friendsofsymfony/user-bundle »: « dev-master », « sonata-project/user-bundle »: « dev-master », « sonata-project/doctrine-orm-admin-bundle »: « dev-master » Update the AppKernel.php file to add the following bundles: new FOS\UserBundle\FOSUserBundle(), new Sonata\jQueryBundle\SonatajQueryBundle(), new Sonata\AdminBundle\SonataAdminBundle(), new Sonata\BlockBundle\SonataBlockBundle(), new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(),…

Lire la suite Lire la suite