


symfony new your_app
cd your_app
 
composer require friendsofsymfony/user-bundle:2.0.x-dev
composer require elasticms/core-bundle:dev-master
 
 
        	new FOS\UserBundle\FOSUserBundle(),
        	new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
            new EMS\CoreBundle\EMSCoreBundle(),
            
            
            in AppKernel.php
            
            
            ems_core:
    resource: "@EMSCoreBundle/Controller/"
    type:     annotation
#    prefix:   /admin

fos_user:
    resource: "@FOSUserBundle/Resources/config/routing/all.xml"    

app:
    resource: "@AppBundle/Controller/"
    type:     annotation
            
            in routing.yml
            
            
fos_user:
    db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
    firewall_name: main
    user_class: EMS\CoreBundle\Entity\User
    from_email: 
        address: noreply@example.com
        sender_name: elasticMS
    service:
        mailer: fos_user.mailer.default
    resetting:
        email:
            template: email/password_resetting.email.twig
    profile:
        form:
            type: AppBundle\Form\Form\UserProfileType
            
ems_core:
    theme_color: red
    circles_object: institution
    instance_id: calbe_
    
    in config.yml