PHPackages                             rawebone/ormish - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. rawebone/ormish

ActiveLibrary[Database &amp; ORM](/categories/database)

rawebone/ormish
===============

A lightweight ORM

v0.2.0(12y ago)139MITPHPPHP &gt;=5.3

Since Jan 15Pushed 12y ago1 watchersCompare

[ Source](https://github.com/rawebone/Ormish)[ Packagist](https://packagist.org/packages/rawebone/ormish)[ RSS](/packages/rawebone-ormish/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (3)Versions (5)Used By (0)

Ormish
======

[](#ormish)

Ormish is an Object Relational Mapper with an emphasis on simplicity. It relies on a certain amount of extension and adherence to database conventions. It has one, generic SQL connector at the moment for maximum compatibility.

The library aims to provide an active record pattern to database access, with a basic syntax for general use and an ability to easily extend for your own purposes. I am writing this primarily to learn the Domain and for my own purposes, unless there is significant interest for other parties.

*Note: This is a work in progress*

Installation
------------

[](#installation)

Installation is via [Composer](https://getcomposer.org):

```
{
    "require": {
        "rawebone/ormish": "dev-master"
    }
}
```

Usage
-----

[](#usage)

The ORM is pretty simple to get to grips with:

```
