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

174623[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 yesterday

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 17% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity23

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://avatars.githubusercontent.com/u/456954?v=4)[Harro Verton](/maintainers/WanWizard)[@WanWizard](https://github.com/WanWizard)

![](https://avatars.githubusercontent.com/u/2370734?v=4)[Emlyn West](/maintainers/emlynwest)[@emlynwest](https://github.com/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

[jdorn/sql-formatter

a PHP SQL highlighting library

3.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

2920.0k](/packages/voku-session2db)

PHPackages © 2026

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