PHP Classes

Tiny PHP ORM Framework: Map objects to databases using composed queries

Recommend this page to a friend!
  Info   View files Example   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog (1)    
Ratings Unique User Downloads Download Rankings
StarStarStarStarStar 81%Total: 928 All time: 3,844 This week: 136Up
Version License PHP version Categories
tinyorm 1.15BSD License5.4PHP 5, Databases, Libraries, Design P...
Collaborate with this project 

Author

tinyorm - github.com

Description

This package can map objects to databases using composed queries.

It provides base entity classes that should be extended implementation classes that define how to map objects to tables, primary key fields, what fields to retrieve to map object variables, etc..

The package also provide means to access the database abstraction layer and execute SQL queries to store and retrieve the entity class object as well manage transactions.

Object queries can be composed using a fluent interface to define several parameters like the classes of the objects to map, conditions, join clauses, etc..

The database access uses PDO classes.

Picture of Victor Bolshov
  Performance   Level  
Name: Victor Bolshov <contact>
Classes: 10 packages by
Country: Russian Federation Russian Federation
Age: 44
All time rank: 42411 in Russian Federation Russian Federation
Week rank: 568 Down24 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 2x

Example

<?php

use \tinyorm\Select;

include
__DIR__ . "/../bootstrap.php";

$authors = (new Select("author"))->orderBy("name")->execute();

echo \
library\View::render("header.php", [
   
"title" => "Tinyorm Library: Authors",
   
"description" => \library\View::render("sidebar/authors.html"),
]);

echo \
library\View::render(
   
"authors.php",
    [
       
"authors" => $authors,
    ]
);

echo \
library\View::render("footer.php"); ?>


  Files folder image Files  
File Role Description
Files folder imageexamples (1 directory)

  Files folder image Files  /  examples  
File Role Description
Files folder imagelibrary (1 directory)

  Files folder image Files  /  examples  /  library  
File Role Description
Files folder imagewww (1 file)

  Files folder image Files  /  examples  /  library  /  www  
File Role Description
  Accessible without login Plain text file authors.php Example Application script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:928
This week:0
All time:3,844
This week:136Up
User Ratings User Comments (1)
 All time
Utility:92%StarStarStarStarStar
Consistency:95%StarStarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:90%StarStarStarStarStar
Tests:85%StarStarStarStarStar
Videos:-
Overall:81%StarStarStarStarStar
Rank:14