I am not able to use CRUD generate with Symfony. I believe this most probably depends on Symfony version. Which version of Symfony is the best to use?
Today i have updated Symfony:
c:\Bitnami\wampstack-5.5.30-0\sym_prog>php symfony self-update
I have got the message : updating Symfony Installer to 1.4.0
Later i have made a new project:
c:\Bitnami\wampstack-5.5.30-0\sym_prog\proj2>php symfony new proj2 lts
// lts means long term support And have got a message: OK Symfony 2.8.0 was successfully installed. Now you can: * Change your current directory to C:\Bitnami\wampstack-5.5.30-0\sym_prog\prj2 * Configure your application in app/config/parameters.yml file. * Run your application: 1. Execute the php app/console server:run command. 2. Browse to the http://localhost:8000 URL. * Read the documentation at http://symfony.com/doc
After generating entities i have got problems with crud.
c:\Bitnami\wampstack-5.5.30-0\sym_prog\proj2>php app/console doctrine:generate:crud MeetingBundle:User
The Entity shortcut name [MeetingBundle:User]:
Do you want to generate the "write" actions [no]? Yes
Configuration format (yml, xml, php, or annotation) [annotation]:
Routes prefix [/user]:
Although crud generates controller and views (the latter are generated not in the bundle/resources/views, but in app/resources/views), but crud does not generate forms, thus i can not create/update/view/delete user or other entities!
I believe it depends only on Symfony version. Thus which version is the best to use?