Doctrine simple tree structure
Doctrine simple tree structure using a parent \ child fields of a MySQL table.
composer install
The MySQL database with some data samples is on the sql directory
You can create the empty table with a doctrine command:
vendor/bin/doctrine orm:schema-tool:create
On Linux:
vendor/bin/doctrine orm:schema-tool:create
On Windows:
vendor\bin\doctrine.bat orm:schema-tool:create