Doctrine: Unable to parse string: Unable to parse line 0 (
Normally this error would mean that you have some weird syntax error somewhere in your yml files. However, if you are sure everything is up to spec be sure to check whether there are any `hidden' files in the folder. Such files start with a dot and are also read and parsed by the command line generator.
This could potentially fail, in case you get the aforementioned error. Be sure to remove these files before proceeding. To check whether there are any, go to the directory and retrieve it's listing.
cd /some/path/to/your/yml/files ls -lha
If you see any files starting with a dot and ending in .yml be sure to check them for any valuable content and throw them away.
Thanks to rajat pandit for hinting to this solution.
Doctrine meets CodeIgniter
Anyone who has made websites in the past has encountered it. The endless bugging typing of SQL queries, always doing the same over and over again. This struggle is lightened by the use of frameworks or even complete CM-Systems. However, SQL query writing is still often needed.
To counter this (and other annoying pestering little details mongering), Object Relational Mappers were invented. Doctrine is a PHP implementation of the RoR ORM. And now it's quite easy to merge CodeIgniter and Doctrine into one package.
Just follow the readme and continue your adventure.