PHPackages                             lox/pheasant - 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. lox/pheasant

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

lox/pheasant
============

A lightweight data mapper for MySQL and PHP 7.2+

v1.3.2(11y ago)10018.5k21[7 issues](https://github.com/lox/pheasant/issues)[6 PRs](https://github.com/lox/pheasant/pulls)1MITPHPPHP &gt;=5.3.2

Since May 31Pushed 3y ago9 watchersCompare

[ Source](https://github.com/lox/pheasant)[ Packagist](https://packagist.org/packages/lox/pheasant)[ RSS](/packages/lox-pheasant/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (21)Used By (1)

Pheasant
========

[](#pheasant)

Pheasant is an object relational mapper written to take advantage of PHP 7. Simple relationships are supported, with the emphasis being on scalability and performance over complexity.

Pheasant doesn't attempt to abstract the database and makes heavy use of MySQL/Innodb features.

Status of Development
---------------------

[](#status-of-development)

Running in production on 99designs.com. See `ROADMAP` for more details on future plans.

[![Build Status](https://camo.githubusercontent.com/fef93b04c0b80c08dd3ee87aecd8230079675da3e45098ff01028e52667c4729/68747470733a2f2f7472617669732d63692e6f72672f6c6f782f7068656173616e742e706e67)](https://travis-ci.org/lox/pheasant)

Installing
----------

[](#installing)

Easiest way is to install via composer .

```
composer require lox/pheasant
```

Persisting Objects
------------------

[](#persisting-objects)

Each domain object has a set of properties and relationships that are defined in the configure method. Each domain object delegates to a mapper object for the actual saving and loading of objects.

```
