PHP Classes

PHP ORM Library: Store and retrieve objects from databases with PDO

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-03-05 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 326 This week: 4All time: 6,623 This week: 322Up
Version License PHP version Categories  
orm-library 0.9.2GNU General Publi...5.3PHP 5, Databases, Design Patterns
Description Author  

This package can store and retrieve objects from databases with PDO.

It provides a mapper base class that should be extended by classes of objects to be stored in a database to define details like the database table to access its records.

The base class can create new objects, find database table records and load them in class objects, provide setter and getter functions of each of the database table records mapped to class variables, return objects as arrays in the JSON format. delete existing objects, etc..

A separate database access class is used to execute queries using the PDO extension.

Picture of Carlo Pietrobattista
  Performance   Level  
Name: Carlo Pietrobattista <contact>
Classes: 5 packages by
Country: Italy Italy
Age: 36
All time rank: 119043 in Italy Italy
Week rank: 232 Up8 in Italy Italy Up

  Files folder image Files  
File Role Description
Files folder imageexamples (1 file)
Plain text file PtcDb.php Class database connection manager component
Plain text file PtcMapper.php Class object relational mapping component
Plain text file PtcQueryBuilder.php Class query builder component

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file ptcmapper-ex.php Example example file 14KB
Downloadorm-library-2014-03-05.tar.gz 12KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP PDO Fluent Query Builder Download .zip .tar.gz All queries from the orm interface are handled by the fluent query builder Required
 Version Control Unique User Downloads Download Rankings  
 100%Total:326All time:6,623
 This week:4This week:322Up