PHPackages                             iporm/iporm - 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. iporm/iporm

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

iporm/iporm
===========

Basic MySQL ORM package for PHP

1.1.0(9y ago)022PHPPHP &gt;=5.3.0

Since Nov 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/pejicbgd/iporm)[ Packagist](https://packagist.org/packages/iporm/iporm)[ Docs](https://github.com/pejicbgd/iporm)[ RSS](/packages/iporm-iporm/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

About
=====

[](#about)

Iporm is a basic [ORM](http://en.wikipedia.org/wiki/Object_relational_mapping) package written in PHP. Usage is very simple, it is based on method chaining pattern, so it feels natural and fluent. This is a extension of a simple wrapper that I wrote a long time ago, which expanded and matured over time.

There are plenty of excellent wrappers out there, but I hope you will have fun using this one.

\##Installation

Simplest way to install it is via composer, package name is "iporm/iporm", so include it in your composer.json with:

```
composer require iporm/iprom

```

or you can download it here directly. After installation, please adjust connection parameters in Connection.php file.

\##Guidelines

Below you will fing usage examples for some of the main methods. For a complete reference and functional code examples check out index.php.

\###Select statement $db = new Iprom\\Db(); $db-&gt;select() -&gt;from('users') -&gt;run();

```
print_r($db->getSelected());

```

\###Insert statement $db = new Iporm\\Db(); $db-&gt;insertInto('users', \['name' =&gt; 'Sample', 'last\_name' =&gt; 'Name'\]) -&gt;run();

```
print_r($db->getInsertedId());

```

\###Update statement $db = new Iporm\\Db(); $db-&gt;update('users', \['name' =&gt; 'New'\]) -&gt;where(\['name' =&gt; 'Sample'\]) -&gt;run();

```
print_r($db->getAffected());

```

\###Delete statement $db = new Iporm\\Db(); $db-&gt;delete() -&gt;from('users') -&gt;where(\['name' =&gt; 'New'\]) -&gt;run();

```
print_r($db->getAffected());

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~218 days

Total

2

Last Release

3298d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8352112?v=4)[Ivan Pejic](/maintainers/pejicbgd)[@pejicbgd](https://github.com/pejicbgd)

---

Top Contributors

[![pejicbgd](https://avatars.githubusercontent.com/u/8352112?v=4)](https://github.com/pejicbgd "pejicbgd (7 commits)")

### Embed Badge

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

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M114](/packages/jdorn-sql-formatter)[propel/propel1

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

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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