PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 716 This week: 2All time: 4,597 This week: 88Up
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
Age: 38
All time rank: 107615 in Pakistan Pakistan
Week rank: 104 Up4 in Pakistan Pakistan Up

  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:716
This week:2
All time:4,597
This week:88Up
For more information send a message to info at phpclasses dot org.