Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 733 Bytes

File metadata and controls

13 lines (10 loc) · 733 Bytes

Build Status Coverage Status

sql2Entity

CLI PHP script to convert an SQL file with create table statements to a Doctrine Entity class(es). Written to work with Laravel-Doctrine. May work outside of Laravel, but untested.

Usage

./convertSQL.php <sql file> <output folder (optional)> <options>

<options> can be -v for verbose mode. With the --help or -h options, you will get this help.

Output folder will default to the included generatedEntities folder.