PHPackages                             eddmash/powerorm - 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. eddmash/powerorm

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

eddmash/powerorm
================

A powerful php orm with automatic migrations

v1.1.1(7y ago)2138052MITPHPPHP &gt;=7

Since Apr 3Pushed 7y ago6 watchersCompare

[ Source](https://github.com/eddmash/powerorm)[ Packagist](https://packagist.org/packages/eddmash/powerorm)[ Docs](https://github.com/eddmash/powerorm)[ RSS](/packages/eddmash-powerorm/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (10)Versions (8)Used By (2)

[![Documentation Status](https://camo.githubusercontent.com/63def6263afd9bc0a5f7cfef992d2b77189f28a0881384d787f39c4d50b9cc76/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f706f7765726f726d2f62616467652f3f76657273696f6e3d6c6174657374)](http://powerorm.readthedocs.io/en/latest/?badge=latest)[![StyleCI](https://camo.githubusercontent.com/3d9588a536bd197e613f70402d9a3a5f9e5b703896d551266289f1a13e505186/68747470733a2f2f7374796c6563692e696f2f7265706f732f35303832323034332f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/50822043)[![Build Status](https://camo.githubusercontent.com/8b471994139207e4ba9de6f722d39009f27daa2a79d654503ec4ce70dd315ae0/68747470733a2f2f7472617669732d63692e6f72672f6564646d6173682f706f7765726f726d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/eddmash/powerorm)[![Latest Stable Version](https://camo.githubusercontent.com/1a106521e0aa95e6e5d6262b42ceed825a76acaefe20d081150489c52215757b/68747470733a2f2f706f7365722e707567782e6f72672f6564646d6173682f706f7765726f726d2f762f737461626c65)](https://packagist.org/packages/eddmash/powerorm)[![Dependency Status](https://camo.githubusercontent.com/21767403890bd08d6d4ce715109d977bb12313eb59826353b33b684de6aefdc3/68747470733a2f2f646570656e64656e637963692e636f6d2f6769746875622f6564646d6173682f706f7765726f726d2f6261646765)](https://dependencyci.com/github/eddmash/powerorm)[![Total Downloads](https://camo.githubusercontent.com/b9796a8c9cba20d6a78d51f094ba8da6860fd1899c57216c6e229e4c6302e281/68747470733a2f2f706f7365722e707567782e6f72672f6564646d6173682f706f7765726f726d2f646f776e6c6f616473)](https://packagist.org/packages/eddmash/powerorm)[![Latest Unstable Version](https://camo.githubusercontent.com/3f6de28bed1301de9920352d488cb9b7dc2dc375e053dc6350a98f0b33f14611/68747470733a2f2f706f7365722e707567782e6f72672f6564646d6173682f706f7765726f726d2f762f756e737461626c65)](https://packagist.org/packages/eddmash/powerorm)[![License](https://camo.githubusercontent.com/ccd9ccad56e827b4952ef10fd74456656db989079d27881f0b63c25d11cb547e/68747470733a2f2f706f7365722e707567782e6f72672f6564646d6173682f706f7765726f726d2f6c6963656e7365)](https://packagist.org/packages/eddmash/powerorm)

PowerOrm
========

[](#powerorm)

A powerful php orm with automatic migrations inspired by django orm.

Help and Documentation
======================

[](#help-and-documentation)

Get the ORM documentation here [PowerOrm Documentation !](http://powerorm.readthedocs.io/). Get assistance on the ORM here [PowerOrm Help !](https://groups.google.com/d/forum/powerorm-users).

Working with Powerorm
---------------------

[](#working-with-powerorm)

- [Install](http://powerorm.readthedocs.io/en/master/orm/intro/install.html) Powerorm
- [Using](http://powerorm.readthedocs.io/en/master/orm/intro/index.html) powerorm
- [Integrating](http://powerorm.readthedocs.io/en/master/orm/integrations/index.html)powerorm with your framework of choice.

Visit the [Documentation](http://powerorm.readthedocs.io/) to learn more.

Visit [Demo app](https://github.com/eddmash/powerocomponentsdemo) to see orm and other components in use.

Background
==========

[](#background)

I created this project because i required a lightweight easy to use orm that i could use in my Codeigniter projects with the least amount of configuration .

Sort of `plug and play` if you will. While at the same time reducing repetition and providing a consistent way to deal with databases.

That is, i wanted to avoid the repetitive actions of creating migration files, creating query method to query the database and also wanted to be able to see all my database table fields on my models without me going to the database tables themselves and use this fields to interact with the database.

This ORM is heavily inspired by Django ORM. Because i personally love how there orm works. If you have worked with django orm you will right at home.

Features
========

[](#features)

- Allows to fully think of the database and its table in an object oriented manner i.e. table are represented by model and columns are represented by fields.
- Create automatic migrations.
- Create forms automatically based on models.
- All fields visible on the model, no need to look at the database table when you want to interact with the database.
- Provides database interaction methods

Dependencies
============

[](#dependencies)

The ORM has the following dependencies:

- [Doctrine dbal Library](http://www.doctrine-project.org/projects/dbal.html).
- [Symfony console component](http://symfony.com/doc/current/components/console.html).
- [Symfony polyfill-mbstring component](http://symfony.com/blog/new-in-symfony-2-8-polyfill-components).

supports
========

[](#supports)

php 7+

Credits
=======

[](#credits)

I have used the following frameworks as a guiding hand, and in most cases i have replicated how Django framework has approached a problem, and in some cases i have borrowed some source code :

- Django framework
- FuelPHP framework
- Yii2 framework
- CakePHP framework
- Laravel framework
- Symfony2 framework
- Codeigniter 4 framework

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 99.1% 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.

###  Release Activity

Cadence

Every ~168 days

Recently: every ~252 days

Total

7

Last Release

2731d ago

PHP version history (3 changes)v1.0.1PHP &gt;=5.4.0

v1.1.0PHP &gt;=5.6

v1.1.1PHP &gt;=7

### Community

Maintainers

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

---

Top Contributors

[![eddmash](https://avatars.githubusercontent.com/u/5079225?v=4)](https://github.com/eddmash "eddmash (454 commits)")[![D-AIRY](https://avatars.githubusercontent.com/u/20150321?v=4)](https://github.com/D-AIRY "D-AIRY (4 commits)")

---

Tags

codeigniterdatabase-tabledballaravelmigrationsormphpphp-ormpowerormqueryphpdatabaseormdbalmodelquerymigrationsdjango

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eddmash-powerorm/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[doctrine/orm

Object-Relational-Mapper for PHP

10.2k295.3M7.2k](/packages/doctrine-orm)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M717](/packages/sylius-sylius)[doctrine/migrations

PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer (DBAL) for versioning your database schema and easily deploying changes to it. It is a very easy to use and a powerful tool.

4.8k212.9M510](/packages/doctrine-migrations)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.5k85.4k1](/packages/getgrav-grav)

PHPackages © 2026

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