PHP Classes

Simple PHP Model Class: Store and retrieve objects in databases using PDO

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 155 All time: 8,976 This week: 194Up
Version License PHP version Categories
simplemodel 1.0.0The PHP License5PHP 5, Databases, Design Patterns


This package can store and retrieve objects in databases using PDO.

It provides a base class that can be extend by implementation model classes that can perform several types of operations with objects that are stored in a database accessed using the PDO extension.

Currently the base model class can:

- Establish hasOne and hasMany relationships with other model classes
- Manage transactions
- Find or count objects that match given conditions
- Save or delete objects
- Retrieve existing model structure reading a given database schema
- Access class properties using getter and setter functions
- Etc..

Picture of SzpaQ
  Performance   Level  
Name: SzpaQ <contact>
Classes: 5 packages by
Country: Poland Poland
Age: ???
All time rank: 304572 in Poland Poland
Week rank: 118 Up3 in Poland Poland Up

  Files folder image Files  
File Role Description
Files folder imageself_stand (1 file)
Accessible without login Plain text file test_model.php Example Example script

  Files folder image Files  /  self_stand  
File Role Description
  Plain text file Model.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,976
This week:194Up