Commandes Symfony
Commandes Symfony
Commandes Symfony
phpapp/console generate:bundle
Vider le cache :
phpapp/console cache:clear
phpapp/console fos:user:promoteusername
ROLE_ADMIN
CRUD
First, give the name of the existing entity for which you want to generate a CRU
D
(use the shortcut notation like AcmeBlogBundle:Post)
Determine the routes prefix (all the routes will be "mounted" under this
prefix: /prefix/, /prefix/new, ...).
CRUD generation
C:\wamp\www\app_symfony2.8>