PHP Classes

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

Recommend this page to a friend!
     
  Info   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: 353 All time: 6,976 This week: 36Up
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 (4)  
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 (4)  /  examples  
File Role Description
  Accessible without login Plain text file ptcmapper-ex.php Example example file

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
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:353
This week:0
All time:6,976
This week:36Up