PHP Classes
elePHPant
Icontem

PHP Database Class Generator: Generate classes to access MySQL databases

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-02-14 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 642 All time: 4,756 This week: 1,095Up
Version License PHP version Categories
db-class-generator 1.1BSD License3.0PHP 5, Databases, Code Generation
Description Author

This class can generate classes to access MySQL databases.

It connects to a given MySQL database and retrieves the list of its tables.

The class generates class files for each table that can perform several types of database operations like INSERT, UPDATE and DELETE records, retrieve the record with a given identifier, display database table record data using the Grid class, generate form select input from values of the table, etc..

The generated code is stored in a PHP script with the name based on the database table under a directory with the database name. The class also creates the necessary directories.

Picture of Kamran Shahid Butt
Name: Kamran Shahid Butt <contact>
Classes: 3 packages by
Country: Pakistan Pakistan

  Files folder image Files  
File Role Description
Plain text file genrator.php Class PHP Generator
Plain text file mysql.php Class MySQL Connection file
Accessible without login Plain text file sample-generate.php Example This is the sample file of generator

 Version Control Unique User Downloads Download Rankings  
 0%
Total:642
This week:0
All time:4,756
This week:1,095Up