Skip to content

CLI PHP to convert a SQL create table statement to a Doctrine Entity class

License

Notifications You must be signed in to change notification settings

cgclabs/sql2Entity

Repository files navigation

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.

About

CLI PHP to convert a SQL create table statement to a Doctrine Entity class

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages