PHP Classes

torm: Store and retrieve objects using ActiveRecord

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: 195 All time: 8,533 This week: 455Up
Version License PHP version Categories
torm 1.0.3GNU General Publi...5.3.0PHP 5, Databases, Design Patterns
Description 

Author

This class can be used store and retrieve objects from a database.

It provides several classes that can perform object-relational mapping (ORM) to access objects stored in a relational database using ActiveRecord design pattern.

It can create objects from scratch or load objects previously store in the database.

It can use inflection rules to map object types into database table names.

It uses PDO to connect to a database configured using drivers specialized to access MySQL, Oracle and SQLite databases.

It can also perform other operations like validating object values, managing object collections, and logging actions.

Picture of Eustaquio Rangel de Oliveira Jr.
  Performance   Level  
Name: Eustaquio Rangel de ... is available for providing paid consulting. Contact Eustaquio Rangel de ... .
Classes: 6 packages by
Country: Brazil Brazil
Age: 53
All time rank: 27520 in Brazil Brazil
Week rank: 44 Up6 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

Details

Just another simple ORM for PHP. You can use it, but don't ask why I made it. Right? :-) Take a look on the [Github Wiki](https://github.com/taq/torm/wiki) for documentation.

  Files folder image Files (27)  
File Role Description
Files folder imagedrivers (3 files)
Files folder imagemodels (4 files)
Files folder imagetest (5 files, 1 directory)
Plain text file builder.php Class Class source
Plain text file collection.php Class Class source
Plain text file connection.php Class Class source
Plain text file driver.php Class Class source
Plain text file factory.php Class Class source
Plain text file inflections.php Class Class source
Accessible without login Plain text file LICENSE Data Auxiliary data
Plain text file log.php Class Class source
Plain text file model.php Class Class source
Accessible without login Plain text file README.md Data Auxiliary data
Accessible without login Plain text file torm.php Aux. Class source
Plain text file validation.php Class Class source

  Files folder image Files (27)  /  drivers  
File Role Description
  Plain text file mysql.php Class Class source
  Plain text file oracle.php Class Class source
  Plain text file sqlite.php Class Class source

  Files folder image Files (27)  /  models  
File Role Description
  Plain text file account.php Class Class source
  Accessible without login Plain text file another_user.php Test Unit test script
  Plain text file ticket.php Class Class source
  Plain text file user.php Class Class source

  Files folder image Files (27)  /  test  
File Role Description
Files folder imagefactories (3 files)
  Accessible without login Plain text file factoryTest.php Test Unit test script
  Accessible without login Plain text file inflectionsTest.php Test Unit test script
  Accessible without login Plain text file modelTest.php Test Unit test script
  Accessible without login Plain text file run Data Auxiliary data
  Accessible without login Plain text file torm.yml Data Auxiliary data

  Files folder image Files (27)  /  test  /  factories  
File Role Description
  Accessible without login Plain text file account.php Test Unit test script
  Accessible without login Plain text file ticket.php Test Unit test script
  Accessible without login Plain text file user.php Test Unit test script

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
 Version Control Unique User Downloads Download Rankings  
 100%
Total:195
This week:0
All time:8,533
This week:455Up