Login   Register  
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 del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-03-05 (9 months ago) RSS 2.0 feedNot enough user ratingsTotal: 269 All time: 6,853 This week: 1,141Up
Version License PHP version Categories  
orm-library 0.9.2GNU General Public Lice...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
Name: Carlo Pietrobattista <contact>
Classes: 5 packages by
Country: Italy Italy
Age: 36
All time rank: 120644 in Italy Italy
Week rank: 461 Up21 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

Downloadorm-library-2014-03-05.zip 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:269All time:6,853
 This week:0This week:1,141Up