Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() |
![]() ![]() |
Reputation | Support forum (4) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() ![]() ![]() ![]() | Total: 1,030 | All time: 3,566 This week: 107![]() |
Version | License | PHP version | Categories | |||
mysqlreflection 1.0.11 | BSD License | 5 | PHP 5, Databases, Code Generation |
Description | Author | ||||||||
This package can perform automatic generation of PHP classes from MySQL tables. Recommendations Map database records to objects What is the best PHP crud class? doing all crud operations What is the best PHP crud class? database crud for each table mysql database How to find package ? php class file for InnoDB having the transaction handling PHPeclipse - PHP - Code Templates MySQL table editor Good and simple MySQL wrapper Best PHP mysql to mysqli or PDO solution Access data base |
|
The utility generates automatically PHP classes for any tables of a given database schema.
Package is extracted from my personal PHP Web MVC Framework.
To generate PHP classes with the purpose of mapping database tables you need to:
1) IMPORTANT! Use lowercase with the underscore, which is the widely used MySQL naming notation, on your database tables and fields names.
2) Configure your database schema by modifying util\mysqlreflection\mysqlreflection.config.php
file and, assigning appropriate values to DBHOST, DBNAME, DBUSER, DBPASSWORD, and DBPORT PHP constants, according to your MySQL settings.
3) Then, launch the tool by typing:
http/localhost/util/app_create_beans.php
Note that, the GUI of the utility uses Bootstrap and jQuery from CDN. So you also need an internet connection alive before running it.
4) Once the utility is started, click "_Generate classes_" button.
After running the utility you will find all generated classes into "beans" folder.
Note:
An auto generated MySQL class provides the following services:
Developers can quickly use these classes on their application.
Into the beans directory are located some auto generated classes of a MySQL schema.
DDL for MySQL schema is into a script file located into "sql" directory.
There is also a simple tester script "app_run_bean.php" for showing usage of a generated class.
Many and many thanks to
for granting me an open source license of magic
PHPStorm
that I used in the development of MySQLReflection.
Screenshots | ||
Videos | ||
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Example | Example script | ||
![]() ![]() |
Example | Example script | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Aux. | Auxiliary script | ||
![]() ![]() |
Doc. | Documentation |
![]() |
/ | beans |
File | Role | Description |
---|---|---|
![]() ![]() |
Aux. | Auxiliary script |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
/ | docs |
File | Role | Description |
---|---|---|
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Doc. | Documentation |
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Doc. | Documentation |
![]() ![]() |
Doc. | Documentation |
![]() ![]() |
Data | Auxiliary data |
![]() |
/ | mysqlreflection |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
92% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.