PHPackages                             nextras/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. nextras/orm

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

nextras/orm
===========

Nextras Orm framework

v5.0.1(1y ago)3141.2M↓43.3%63[32 issues](https://github.com/nextras/orm/issues)[11 PRs](https://github.com/nextras/orm/pulls)20MITPHPPHP &gt;=8.1CI passing

Since Jul 15Pushed 1mo ago30 watchersCompare

[ Source](https://github.com/nextras/orm)[ Packagist](https://packagist.org/packages/nextras/orm)[ Docs](https://github.com/nextras/orm)[ GitHub Sponsors](https://github.com/hrach)[ RSS](/packages/nextras-orm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (19)Versions (94)Used By (20)

Nextras Orm
===========

[](#nextras-orm)

[![Build Status](https://camo.githubusercontent.com/31595f2317a18e94f10902650f84d812d8aba6487b3c8a1f8eba7bfa0adeba61/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e6578747261732f6f726d2f6275696c642e796d6c3f6272616e63683d6d61696e)](https://github.com/nextras/orm/actions?query=workflow%3ABuild+branch%3Amaster)[![Downloads this Month](https://camo.githubusercontent.com/a6f384978f27ab0c86495cae41ff9717cca21350381b61dd71f49f87c8e95935/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e6578747261732f6f726d2e7376673f7374796c653d666c6174)](https://packagist.org/packages/nextras/orm)[![Stable Version](https://camo.githubusercontent.com/63f88ec1d77d0deb10f098ed1a8138be4d206de06cd3ba0dc5517241f9b0b1d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6578747261732f6f726d2e7376673f7374796c653d666c6174)](https://packagist.org/packages/nextras/orm)[![Code coverage](https://camo.githubusercontent.com/e86613d638b7d1be25ab807216e227ce70baf1a18fc598c06f06e48bb82e7a18/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6e6578747261732f6f726d2e7376673f7374796c653d666c6174)](https://coveralls.io/r/nextras/orm)

Lightweight and high-performance ORM with clean object design.

Supported platforms:

- MySQL,
- PostgreSQL,
- MS SQL Server.

### Docs &amp; resources

[](#docs--resources)

- [Documentation](https://nextras.org/orm/docs)
- [Nextras Orm PhpStorm Plug-in](https://github.com/nextras/orm-intellij)
- [Nextras Orm PhpStan extension](https://github.com/nextras/orm-phpstan)
- [Demo with Nette framework - source code](https://github.com/nextras/orm-demo-nette)

### Extensions

[](#extensions)

- [Integration to PHP-DI](https://github.com/Zarganwar/php-di-nextras-orm-extension)
- [Nextras Orm Generator](https://github.com/contributte/nextras-orm-generator)
- [Doctrine-like events for entities](https://github.com/contributte/nextras-orm-events)
- [Extensions for ORM](https://github.com/Mikulas/nextras-ormext) (Json, Crypto, PgArray, CompositeType, StatefulProperty, etc.; currently without further development, but may help as an inspiration)

### License

[](#license)

MIT. See full [license](license.md).

###  Health Score

68

—

FairBetter than 100% of packages

Maintenance67

Regular maintenance activity

Popularity59

Moderate usage in the ecosystem

Community46

Growing community involvement

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 86.9% 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 ~50 days

Recently: every ~82 days

Total

83

Last Release

169d ago

Major Versions

v3.1.3 → v4.0.0-rc12020-08-16

v3.1.4 → v4.0.02020-09-14

v3.1.x-dev → v4.0.22021-03-26

v4.0.7 → v5.0.0-rc12024-04-09

v4.0.x-dev → v5.1.0-rc12025-11-30

PHP version history (7 changes)v1.0.0-alpha1PHP ~5.4

v1.0.0-RC1PHP &gt;=5.4

v2.0.0-beta1PHP &gt;=5.5

v2.2.0-rc1PHP &gt;=5.6

v3.0.0-beta1PHP &gt;=7.0

v3.1.0-rc1PHP &gt;=7.1

v5.0.0-rc1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/953773db6e30161b5e76572bf909c24e8ef07d7419aeebc311e071600ea99bef?d=identicon)[hrach](/maintainers/hrach)

![](https://www.gravatar.com/avatar/6163a0eec16c2bfc9cce0c7c8801b5166cca9af81a146764676059a965044000?d=identicon)[JanTvrdik](/maintainers/JanTvrdik)

---

Top Contributors

[![hrach](https://avatars.githubusercontent.com/u/284263?v=4)](https://github.com/hrach "hrach (1611 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (75 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (33 commits)")[![matej21](https://avatars.githubusercontent.com/u/1276059?v=4)](https://github.com/matej21 "matej21 (31 commits)")[![JanTvrdik](https://avatars.githubusercontent.com/u/175109?v=4)](https://github.com/JanTvrdik "JanTvrdik (19 commits)")[![radimvaculik](https://avatars.githubusercontent.com/u/461164?v=4)](https://github.com/radimvaculik "radimvaculik (11 commits)")[![adaamz](https://avatars.githubusercontent.com/u/4347332?v=4)](https://github.com/adaamz "adaamz (11 commits)")[![Mikulas](https://avatars.githubusercontent.com/u/192200?v=4)](https://github.com/Mikulas "Mikulas (11 commits)")[![mabar](https://avatars.githubusercontent.com/u/20974277?v=4)](https://github.com/mabar "mabar (10 commits)")[![KuceraMartin](https://avatars.githubusercontent.com/u/3159068?v=4)](https://github.com/KuceraMartin "KuceraMartin (7 commits)")[![pryznar](https://avatars.githubusercontent.com/u/3277536?v=4)](https://github.com/pryznar "pryznar (6 commits)")[![jtojnar](https://avatars.githubusercontent.com/u/705123?v=4)](https://github.com/jtojnar "jtojnar (3 commits)")[![zelenomodrypes](https://avatars.githubusercontent.com/u/755065?v=4)](https://github.com/zelenomodrypes "zelenomodrypes (3 commits)")[![vitkutny](https://avatars.githubusercontent.com/u/4031169?v=4)](https://github.com/vitkutny "vitkutny (3 commits)")[![jkavalik](https://avatars.githubusercontent.com/u/5812825?v=4)](https://github.com/jkavalik "jkavalik (3 commits)")[![martenb](https://avatars.githubusercontent.com/u/13311472?v=4)](https://github.com/martenb "martenb (2 commits)")[![uestla](https://avatars.githubusercontent.com/u/373888?v=4)](https://github.com/uestla "uestla (2 commits)")[![mrceperka](https://avatars.githubusercontent.com/u/22822651?v=4)](https://github.com/mrceperka "mrceperka (1 commits)")[![radmax](https://avatars.githubusercontent.com/u/1110762?v=4)](https://github.com/radmax "radmax (1 commits)")[![jehla](https://avatars.githubusercontent.com/u/13404426?v=4)](https://github.com/jehla "jehla (1 commits)")

---

Tags

databasenextrasobject-relational-mapperormphpdatabaseormnextras

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[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)[uestla/yetorm

Lightweight ORM for Nette\\Database

4936.4k](/packages/uestla-yetorm)[williarin/wordpress-interop

Interoperability library to work with WordPress database in third party apps

6610.9k2](/packages/williarin-wordpress-interop)[modul-is/orm

Lightweight hybrid ORM/Explorer

1118.1k](/packages/modul-is-orm)[icanboogie/activerecord

ActiveRecord Object-relational mapping

135.0k3](/packages/icanboogie-activerecord)

PHPackages © 2026

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