PHP Classes

PHP MySQL class generator: Generate classes to manipulate MySQL table rows

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 71%Total: 13,826 This week: 1All time: 77 This week: 61Up
Version License Categories
sql_class_generator 1.0.0FreewareDatabases, Code Generation


This package can be used to generate classes that wrap rows of MySQL database tables providing an object oriented interface to manipulate the table row data.

It generates getter and setter functions to access the table row column values as class variables.

It also generates functions to insert, select, update and delete table row data.

The generated class uses another classes provided with this package to execute database access operations. That class must be configured to specify the MySQL database server host, user name and password.

When the table definition changes, the wrapper class code must be regenerated.

The MySQL database table that is wrapped must have one auto-increment primary key field.

Picture of marco voegeli
Name: marco voegeli <contact>
Classes: 3 packages by
Country: Switzerland Switzerland
Age: 44
All time rank: 821 in Switzerland Switzerland
Week rank: 72 Up2 in Switzerland Switzerland Down

  • screen1.gif
  Files folder image Files  
File Role Description
Files folder imageexamples (5 files)
Files folder imagegenerated_classes (1 file)
Files folder imageimages (1 file)
Files folder imageresources (1 file)
HTML file documentation.htm Doc. documentation
Plain text file generator.php Appl. generator.php

  Files folder image Files  /  examples  
File Role Description
  Plain text file test_update.php Example example
  Plain text file test_select.php Example example
  Plain text file test_insert.php Example example
  Plain text file test_delete.php Example example
  Plain text file class.test.php Output generated class

  Files folder image Files  /  generated_classes  
File Role Description
  Plain text file root_of_generated_classes.txt Data directory of generated classes

  Files folder image Files  /  images  
File Role Description
  Image file screen1.jpg Screen picture

  Files folder image Files  /  resources  
File Role Description
  Plain text file class.database.php Class database connection layer

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:77
This week:61Up
User Ratings User Comments (4)
 All time