title: Php Orm with database from model
body: <p>I'm pretty used to Django. With Django you define your models for the ORM and it takes care of generating / altering the database itself for storing the data based on the models.</p>
  
  <p>In php i'm looking for a similar solution. Doctrine seems to be the standard php ORM, but, as far as I've seen, you have to write the DB and <em>then</em> attach to it, or script the database creation, <em>then</em> generate the models and start working.</p>
  
  <p>Is there a <strong>one step</strong> model definition to db creation with Doctrine or another php orm solution? Thanks.</p>