Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 890 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 890 Bytes

SQL2PHP

Simple script/application for generating PHP code based on SQL. Can be used as application (Github pages) or can be used as script and integrated into something else.

You can either try it here or download SQL2PHP.js and implement it in your application.

Output

Code will generate these files:

  • Objects.php - File with all PHP class definitions
  • Database.php - Static file with Database class that is used in generated files
  • Multiple MyDatabase.php - Each of these files is named by one DB in SQL input and this one file contains class definition for this on DB.

What it uses?