Symfony Command Line Quick Reference

Generate Myproject project structure php lib/vendor/symfony/data/bin/symfony generate:project MyProject Generate frontend application called frontend php symfony generate:app frontend Build schema, table SQL and ORM model and insert fixtures into the database php symfony doctrine:build –all –and-load Generate frontend module and call it users for table Users php symfony doctrine:generate-module –with-show –non-verbose-templates frontend users Users

Read More »

Doctrine couldn’t find class

I got stuck on this error whilst trying to load my yaml data files in Symfony php symfony doctrine:build –all –and-load and php symfony doctrine:data-load Couldn’t find class PropertyType PHP Fatal error: Call to a member function evictAll() on a non-object in /Users/mjhoman/Sites/property/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php on line 1239 Fatal error: Call to a member function evictAll() on […]

Read More »