Skip to content

JS script that can create some basic PHP classes, methods and functions based on SQL

Notifications You must be signed in to change notification settings

Hackrrr/SQL2PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

About

JS script that can create some basic PHP classes, methods and functions based on SQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published