PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  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 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 348 All time: 6,624 This week: 935Up
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

  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:348
This week:0
All time:6,624
This week:935Up