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

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

fuelphp/orm
===========

FuelPHP ORM package

184583[17 issues](https://github.com/fuelphp/orm/issues)PHP

Since Oct 20Pushed 10y ago10 watchersCompare

[ Source](https://github.com/fuelphp/orm)[ Packagist](https://packagist.org/packages/fuelphp/orm)[ RSS](/packages/fuelphp-orm/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

FuelPHP Orm library.
====================

[](#fuelphp-orm-library)

[![Build Status](https://camo.githubusercontent.com/de7bb730310ae6c735593aa8c23021cf74f43e32c768da0749a5eff3bac53d9e/68747470733a2f2f7472617669732d63692e6f72672f6675656c7068702f6f726d2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/fuelphp/orm)[![Code Quality](https://camo.githubusercontent.com/22872cf9fc202528dd0dfab68aaf5a4f3b41f9ea4dae661d707cc67afe81dd01/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6675656c7068702f6f726d2f6261646765732f7175616c6974792d73636f72652e706e673f733d33613037316133663134326633623135633163306462313434623362386336326661353636326538)](https://scrutinizer-ci.com/g/fuelphp/orm/)[![Code Coverage](https://camo.githubusercontent.com/bea9dff59d9a088f83a48ee253ce7f9472b85da41de6664398a2a27ca42760ad/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6675656c7068702f6f726d2f6261646765732f636f7665726167652e706e673f733d37656164366134313239333963353438323561393137613362646530336635356162613934306238)](https://scrutinizer-ci.com/g/fuelphp/orm/)[![HHVM Status](https://camo.githubusercontent.com/8ac8b0e5031ae078e95eb1c0307f4ad8ade0f262ba70314457491d60de2e0fac/687474703a2f2f6868766d2e683463632e64652f62616467652f6675656c7068702f6f726d2e737667)](http://hhvm.h4cc.de/package/fuelphp/orm)

V2 orm currently consists of three separate parts that work together to provide a database abstraction via objects. These parts are `Provider`s, `Query`s and `Model`s. The names of these might change depending on their eventual implementation.

Providers
---------

[](#providers)

A `Provider` contains the model's properties, table name and other related information. If you are familiar with the v1 orm this replaces the static properties that used to define the properties, relations, connection, table name and observers. The providers should (at the moment at least) be the first point of entry for interacting with

Queries
-------

[](#queries)

`Query` objects provide a way for the developer to perform actions on the database using the abstraction of the ORM. The idea is that a `Query` object is responsible for talking to whatever database system you are using, be it MySQL, noSQL or flat text files.

Models
------

[](#models)

`Model`, unlike v1, are dummy data container objects. The intent is to make them as light as possible to make dealing with large data sets more efficient. They may contain an interface that passes through to a `Query` or `Provider` in the future.

Testing
=======

[](#testing)

Just as a note, the database related tests can grab a valid DB instance from the codeguy class, this loads the config from the main codeception.yml config so you only need to update the DB config in one place to run the tests.

In the tests classes this can be fetched with `$this->codeGuy->getDbInstance()`

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance1

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb5aa7fe428e4862b98fa6b53f716360d5eff8ff5e25f346d0c34bdcf3bbba62?d=identicon)[WanWizard](/maintainers/WanWizard)

![](https://www.gravatar.com/avatar/e9516322c10bc873370f4e0ebfa0beda22aed081134886915fa9e117784025f3?d=identicon)[emlynwest](/maintainers/emlynwest)

---

Top Contributors

[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (2 commits)")[![WanWizard](https://avatars.githubusercontent.com/u/456954?v=4)](https://github.com/WanWizard "WanWizard (2 commits)")

### Embed Badge

![Health badge](/badges/fuelphp-orm/health.svg)

```
[![Health](https://phpackages.com/badges/fuelphp-orm/health.svg)](https://phpackages.com/packages/fuelphp-orm)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
