How to import any existing project based on Propel or Doctrine ORM
Step-by-step tutorial how to import existing project using Doctrine or Propel ORM framework to ORM Designer. This technique could be used to any project created by Zend framework or any other MVC framework as well as stand alone project using Doctrine or Propel.
Import of any project based on application framework directly unsupported by ORM Designer isn't much more diffcult than supported one. Difference in the import way is only in finding ORM data files. If framework used by your application isn't implemented in ORM Designer you have to select these data files manually during import.
Every image of this tutorial can be zoomed to full size.
Welcome Screen
On Welcome screen use a ribbon button to open ribbon menu as the next step shows.
Import Project from ORM
Choose Import project from ORM in the application ribbon menu.
Import Project Wizard
In Import Project Wizard window set following params:
- Project Name: Enter name of the project.
- Root Import Directory: It is a root directory path of project. Each file path will be relative to this directory.
- Framework: Choose Without Framework.
- ORM Type: Selection of the type depends on ORM used in the project. Currently you can choose between Propel and Doctrine.
- Automatic import of all founded files: By this checkbox you set if all files founded in entered directory shall be imported, or if you want to choose only part of files to import. This settings is irrelevant for Without Framework project, so in this tutorial the checkbox should be unchecked.
Press Import after setting all required parameters.
Setting files to import
ORM Designer doesn't know structure of your project and that's why it can't find any file to import. Therefore you have to add requested files manualy by using Add File button.
For each file selected from a disk is necessary to choose a file format. For example, Doctrine has only one file format DoctrineYml. But Propel ORM can be stored in YAML or XML file so you must choose PropelYml or PropelXml.
After adding all requested files to ORM Designer Import Project Window will look like this. If you have added all files you wanted to than press Import button.
Import is Complete
Project imported to ORM Designer will look like this.


