PHPackages                             blast/orm - 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. blast/orm

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

blast/orm
=========

Framework agnostic data access and persistence based on Doctrine 2 DBAL

0.6.9(9y ago)651691MITPHPPHP ^5.5 || ^7.0

Since Feb 9Pushed 9y ago5 watchersCompare

[ Source](https://github.com/phpthinktank/blast-orm)[ Packagist](https://packagist.org/packages/blast/orm)[ Docs](https://github.com/phpthinktank/blast-orm)[ RSS](/packages/blast-orm/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (7)Versions (28)Used By (0)

Blast ORM
=========

[](#blast-orm)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a1640af60d85e1641c98afd33cf61dab5b9121d90de11e09c6edde4a2e5ad244/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c6173742f6f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blast/orm)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/0aa44d76e6fc4eb2fc4314c7d558c511f44b562c97a19c99d2c92db0f94dd0ac/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068707468696e6b74616e6b2f626c6173742d6f726d2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/phpthinktank/blast-orm)[![Total Downloads](https://camo.githubusercontent.com/99400bcbe83280f9302065c2766488354432c759569c733eda99efe98433b6e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c6173742f6f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blast/orm)[!\[Coverage Status\]\[ico-coveralls\]](https://coveralls.io/github/phpthinktank/blast-orm)

Framework agnostic data access and persistence based on Doctrine 2 DBAL.

Features
--------

[](#features)

- Data and relation mapper *since 0.1*
- Decoupled entities as POPO's (Plain-old PHP objects) *since 0.3*
- Auto-Suggesting entity definition as well as configure custom definition *since 0.5*
- Data hydration to entity and vice versa *since 0.5*
- Repository contracted to a single entity class *since 0.5*
- Integration of fields from definition *since 0.5.2*
- Field type aware converting *since 0.5.2*
- Integration of indexes from definition *since 0.6.4*
- entity independent and connection dependent table prefixes *since 0.6.4*
- entity reflection and meta data caching *since 0.6.4*

Upcoming features
-----------------

[](#upcoming-features)

- Unit of Work - Entity-aware transactions
- Identity map - Reduce load by storing entity by primary key

Install
-------

[](#install)

### Using Composer

[](#using-composer)

Blast ORM is available on [Packagist](https://packagist.org/packages/blast/orm) and can be installed using [Composer](https://getcomposer.org/). This can be done by running the following command or by updating your `composer.json` file.

```
composer require blast/orm
```

composer.json

```
{
    "require": {
        "blast/orm": "~1.0"
    }
}
```

Be sure to also include your Composer autoload file in your project:

```
