PHPackages                             php-service-bus/active-record - 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. php-service-bus/active-record

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

php-service-bus/active-record
=============================

Active record implementation

v5.1.3(4y ago)26.3k1MITPHPPHP &gt;=8.1CI failing

Since Feb 7Pushed 4y agoCompare

[ Source](https://github.com/php-service-bus/active-record)[ Packagist](https://packagist.org/packages/php-service-bus/active-record)[ RSS](/packages/php-service-bus-active-record/feed)WikiDiscussions v5.1 Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (34)Used By (1)

What is it?
-----------

[](#what-is-it)

[![Packagist](https://camo.githubusercontent.com/e7d76875787f2c8b6df29aa81f4c8d77ec4ce71e8b6c9069bd125f534882c9ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d736572766963652d6275732f6163746976652d7265636f72642e737667)](https://packagist.org/packages/php-service-bus/active-record)[![Packagist](https://camo.githubusercontent.com/bcf455deb40b979ad8e79ebf65b500ca70d4b062dff93fa5d5f98c29d1712cb3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d736572766963652d6275732f6163746976652d7265636f72642e737667)](https://packagist.org/packages/php-service-bus/active-record)[![Continuous Integration](https://github.com/php-service-bus/active-record/workflows/Continuous%20Integration/badge.svg)](https://github.com/php-service-bus/active-record/workflows/Continuous%20Integration/badge.svg)[![codecov](https://camo.githubusercontent.com/cdbcaaa8d30d81ef690ca99fdc206ef33ffcda61cbdd47b2e0d21057a504fe6a/68747470733a2f2f636f6465636f762e696f2f67682f7068702d736572766963652d6275732f6163746976652d7265636f72642f6272616e63682f76352e312f67726170682f62616467652e7376673f746f6b656e3d30624b776469756f3053)](https://codecov.io/gh/php-service-bus/active-record)[![Shepherd](https://camo.githubusercontent.com/d257878412c6433dff815c294ee0198e7dcd183389fcaae05879eee6db157bb9/68747470733a2f2f73686570686572642e6465762f6769746875622f7068702d736572766963652d6275732f6163746976652d7265636f72642f636f7665726167652e737667)](https://shepherd.dev/github/php-service-bus/active-record)

This component is part of the [PHP Service Bus](https://github.com/php-service-bus/service-bus): simple Active Record pattern implementation

Documentation
-------------

[](#documentation)

[**Read Active Record documentation**](https://github.com/php-service-bus/service-bus/blob/v5.1/.documentation/database.md#active-record-implementation)

Contributing
------------

[](#contributing)

Contributions are welcome! Please read [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

### Communication Channels

[](#communication-channels)

You can find help and discussion in the following places:

- [Telegram chat (RU)](https://t.me/php_service_bus)
- [Twitter](https://twitter.com/PhpBus)
- Create issue

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 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 ~35 days

Recently: every ~104 days

Total

34

Last Release

1504d ago

Major Versions

v3.3.3 → v4.0.02019-11-30

v4.1.2 → v5.0.02021-02-04

PHP version history (5 changes)v3.0.0PHP &gt;=7.2

v3.3.0PHP &gt;=7.3

v4.0.0PHP &gt;=7.4

v5.0.0PHP &gt;=8.0

v5.1.2PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

[![mmasiukevich](https://avatars.githubusercontent.com/u/31206791?v=4)](https://github.com/mmasiukevich "mmasiukevich (57 commits)")

---

Tags

componentsqlpostgresqlsqlmessagingcommand busactive-recordasync-php

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/php-service-bus-active-record/health.svg)

```
[![Health](https://phpackages.com/badges/php-service-bus-active-record/health.svg)](https://phpackages.com/packages/php-service-bus-active-record)
```

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k578.4M5.6k](/packages/doctrine-dbal)[catfan/medoo

The lightweight PHP database framework to accelerate development

4.9k1.5M194](/packages/catfan-medoo)[cycle/orm

PHP DataMapper ORM and Data Modelling Engine

1.3k835.4k65](/packages/cycle-orm)[usmanhalalit/pixie

A lightweight, expressive, framework agnostic query builder for PHP.

6872.2M15](/packages/usmanhalalit-pixie)[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4572.9M34](/packages/aura-sqlquery)[matthiasmullie/scrapbook

Scrapbook is a PHP cache library, with adapters for e.g. Memcached, Redis, Couchbase, APCu, SQL and additional capabilities (e.g. transactions, stampede protection) built on top.

3212.5M32](/packages/matthiasmullie-scrapbook)

PHPackages © 2026

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