0
votes

I am going through symfony book and trying to do jobeet project(I use propel).. so here what book says

The ORM also generates PHP classes that map table records to objects: $ php symfony propel:build --model The propel:build --model task generates PHP files in the lib/model/ directory that can be used to interact with the database.

I run that command and when i go to lib/ direcotry , there is no model folder :/

2

2 Answers

1
votes

You have to write:

$ php symfony propel:build-model
0
votes

Have you tried this?

sudo ./symfony project:permissions
./symfony project:cc
./symfony propel:build-all-load // this will write to your db as well

otherwise please consider pasting the output of propel:build-model and your symphony version :)