PHP Classes

dbORM: Generate classes to access MySQL tables as objects

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 618 All time: 5,096 This week: 455Up
Version License PHP version Categories
dborm 1.0GNU General Publi...5PHP 5, Databases, Code Generation
Description 

Author

This class can generate classes of objects to access MySQL tables as objects.

It takes the name of a MySQL table and generates a class with a given name that maps between the given table records and class objects.

The generated class has functions to create, retrieve, update and delete records of the given table.

The list of table fields that are mapped to class variables is configurable.

It generates functions to get objects by identifier value, as well for each field with foriegn keys, indexes and unique keys, get all objects of a table, find objects by search, create, retrieve, update and delete rows.

Picture of Besmir Alia
Name: Besmir Alia <contact>
Classes: 1 package by
Country: Albania Albania

 

Screenshots (1)  
  • screenshot
  Files folder image Files (7)  
File Role Description
Plain text file config.php Conf. Just put your db-configs for a start database
Plain text file db.php Aux. Connects to a database
Plain text file dbORM.class.php Class This file generates scripts
Plain text file index.php Example Main UI to select db and talbe
Plain text file sample-output.php Output This is a sample output
Plain text file start.php Aux. Contains a simple session start command

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:618
This week:0
All time:5,096
This week:455Up