The elasticms core bundle

Installs: 797

Dependents: 1

Suggesters: 0

Stars: 1

Watchers: 4

Forks: 4

Open Issues: 26



1.9.48 2019-03-22 20:39 UTC


Coding standards

PHP Code Sniffer is available via composer, the standard used is defined in phpcs.xml.diff:

composer phpcs

If your code is not compliant, you could try fixing it automatically:

composer phpcbf

PHPStan is configured at level 0, you can check for errors locally using:

composer phpstan

Level 0 contains 400+ errors, travis integration is not yet activated.


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
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