DB to PHP class generator

DB to PHP class generator Created by dhavalpandya. This templates have specific characteristics, namely: Short .

You can use this DB to PHP class generator on Php scripts category for database to php class generator, db to php, db to php class and another uses.

DB to PHP class generator
© Copyright by dhavalpandya


  • None: None
  • None: None
  • Html, css, php, sql: HTML, CSS, PHP, SQL
  • Ie6, ie7, ie8, opera: IE6, IE7, IE8, Opera
  • None: None

Short Description

With this script you can automatically generate data access layer-classes for tables of a MYSQL database! It generates a php class-file on your server. It enables you inserting, deleting, updating and selecting records from a database table via class methods! Only select table, define class name and press button “generate class”! Features

  • Generate Data Access Layer Classes in PHP for MYSQL Tables
  • Select Table, insert class name, press button “generate class”
  • One single and central definition of MYSQL access data for all classes!
  • Generates automatically set and get Methods for all Attributes
  • Generates automatically Methods for Inserting, Updating, Deleting and Selecting!


  • Download the archive and decompress it to your drive!
  • Under directory “resources” open the file “class.database.php”
  • Change the parameters “user”, “password” and “database” to your access data, save file!
  • Upload all files to your server!
  • Change rights of directory “generated_classes” with 0777 permission