PHPackages                             taq/torm - 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. taq/torm

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

taq/torm
========

An ORM based on ActiveRecord

1.3.4(6y ago)9386329[4 issues](https://github.com/taq/torm/issues)1GPL-2.0-or-laterPHPPHP &gt;=5.3.0

Since Jul 9Pushed 4y ago21 watchersCompare

[ Source](https://github.com/taq/torm)[ Packagist](https://packagist.org/packages/taq/torm)[ Docs](http://github.com/taq/torm)[ RSS](/packages/taq-torm/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (17)Used By (1)

TORM
====

[](#torm)

⚠️ **WARNING** This software is [abandonware](https://en.wikipedia.org/wiki/Abandonware). As the creator and maintainer, I don't even use PHP *for years*, so, I can't support it anymore. It should work ok for PHP untill version 7, but seems that with 8.1 there are some alerts. Feel free to fork it and keep it going.Just another simple ORM for PHP. You can use it, but don't ask why I made it. Right? :-)

Usage
-----

[](#usage)

Take a look on the [Github Wiki](https://github.com/taq/torm/wiki) for documentation, but let me show the basics here:

```

```

Testing
-------

[](#testing)

### SQLite

[](#sqlite)

First, use `composer update` to make sure everything is ok with all the packages. Then, go to the `test` directory and run `run`. It will requires the [SQLite driver](http://php.net/manual/en/ref.pdo-sqlite.php) so make sure it is available. If not, check the `php.ini` dir found with

```
$ php -r 'phpinfo();' | grep 'php.ini'
Configuration File (php.ini) Path => /etc/php/7.1/cli
Loaded Configuration File => /etc/php/7.1/cli/php.ini
```

and, if not found there or on the `conf.d` on the same location the `php.ini`file is, it can be installed, on Ubuntu, using:

```
$ sudo apt install php-sqlite3
```

### Multibyte strings, locale and YAML

[](#multibyte-strings-locale-and-yaml)

```
$ sudo apt install php-mbstring php-intl php-yaml

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 98.5% 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 ~138 days

Recently: every ~347 days

Total

13

Last Release

2306d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/273db918d5bd2c20b61a40797df70fdbee387de22e2c1dd75419868048980d30?d=identicon)[taq](/maintainers/taq)

---

Top Contributors

[![taq](https://avatars.githubusercontent.com/u/9789?v=4)](https://github.com/taq "taq (267 commits)")[![hugoabonizio](https://avatars.githubusercontent.com/u/1206395?v=4)](https://github.com/hugoabonizio "hugoabonizio (2 commits)")[![rodolforg](https://avatars.githubusercontent.com/u/1323987?v=4)](https://github.com/rodolforg "rodolforg (2 commits)")

---

Tags

activerecordormphpdatabaseormactiverecord

### Embed Badge

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

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

###  Alternatives

[tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.

845.7k](/packages/tommyknocker-pdo-database-class)[bephp/activerecord

micro activerecord library in PHP(only 400 lines with comments), support chain calls and relations(HAS\_ONE, HAS\_MANY, BELONGS\_TO).

1202.1k2](/packages/bephp-activerecord)[friendsofsymfony1/doctrine1

PHP Database ORM for Symfony1. Do NOT use for new projects: please move to a newest Symfony release and Doctrine2

40581.8k](/packages/friendsofsymfony1-doctrine1)[cycle/active-record

Provides a simple way to work with your database using Active Record pattern and Cycle ORM

671.3k3](/packages/cycle-active-record)[kumbia/activerecord

Fast ActiveRecord

261.6k](/packages/kumbia-activerecord)[icanboogie/activerecord

ActiveRecord Object-relational mapping

135.0k3](/packages/icanboogie-activerecord)

PHPackages © 2026

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