2017 © Pedro Peláez
 

library liteorm

Lightweight, really simple and easy to use PHP ORM for SQLite3

image

maertien/liteorm

Lightweight, really simple and easy to use PHP ORM for SQLite3

  • Monday, January 15, 2018
  • by maertien
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

LiteORM

Lightweight, really simple and easy to use PHP ORM for SQLite3, (*1)

License

GNU GPL version 2, (*2)

Author

Martin Kumst - http://kumst.net, (*3)

Howto use LiteORM

<?php

// Load LiteORM classes as simple as 
require_once "../src/LiteORM.php";

// Specify database filename
define("LITEORM_DB_FILE", "./test.sqlite");

// Create database structure as simple as
class Man extends LiteORMDataObject {
}
$man = new Man(array("age" => 20, "name" => "Martin"));
$man->createTable();

// Insert object
$man->save();

// Get some property value
echo $man->get("age");

// Modify and save object
$man->set("age", 22);
$man->save();

// For more examples please take a look at tests/test_sqlite.php file

The Versions

15/01 2018

dev-master

9999999-dev

Lightweight, really simple and easy to use PHP ORM for SQLite3

  Sources   Download

GNU GPL version 2

The Requires

  • php >=5.3.4

 

29/08 2017

v1.0

1.0.0.0

Lightweight, really simple and easy to use PHP ORM for SQLite3

  Sources   Download

GNU GPL version 2

The Requires

  • php >=5.3.4