Dao (Data access object) and model classes generated from the database table. The model classes are bean classes that have get and set methods, and the Dao class will have save, delete and update methods. Foreign keys and relationships are not stored, nor is code generated linking foreign keys. The usage is php genmodel.php db.ini <TableName> . I've followed the propel (php) model while generating the code. If a table is changed, then you simply need to run the script again, and everything works as usual