PHPackages                             tharos/leanmapper - 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. tharos/leanmapper

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

tharos/leanmapper
=================

Tiny ORM based on powerful Dibi database abstraction library for PHP.

v4.3.0(6mo ago)87155.6k↓20.7%36[15 issues](https://github.com/Tharos/LeanMapper/issues)[3 PRs](https://github.com/Tharos/LeanMapper/pulls)20MITPHPPHP 7.4 - 8.5CI failing

Since May 31Pushed 6mo ago20 watchersCompare

[ Source](https://github.com/Tharos/LeanMapper)[ Packagist](https://packagist.org/packages/tharos/leanmapper)[ Docs](http://www.leanmapper.com)[ RSS](/packages/tharos-leanmapper/feed)WikiDiscussions develop Synced 1w ago

READMEChangelog (10)Dependencies (8)Versions (40)Used By (20)

Lean Mapper
===========

[](#lean-mapper)

[![Build Status](https://github.com/Tharos/LeanMapper/workflows/Build/badge.svg)](https://github.com/Tharos/LeanMapper/actions)

Lean Mapper is a tiny ORM based on powerful [Dibi database abstraction library](http://dibiphp.com) for PHP.

See [www.leanmapper.com](http://www.leanmapper.com) for more information, usage examples and documentation.

License
-------

[](#license)

MIT

Copyright (c) 2013 Vojtěch Kohout (aka Tharos)

###  Health Score

65

—

FairBetter than 99% of packages

Maintenance64

Regular maintenance activity

Popularity49

Moderate usage in the ecosystem

Community41

Growing community involvement

Maturity93

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 65.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 ~134 days

Recently: every ~112 days

Total

35

Last Release

194d ago

Major Versions

v1.4.0 → v2.0.02013-08-26

v2.3.0 → v3.0.0-RC12016-02-29

v3.5.0 → v4.0.02021-03-25

PHP version history (5 changes)v3.1.0PHP &gt;= 5.4

v4.0.0PHP &gt;= 7.2

v4.0.5PHP 7.2 - 8.3

v4.2.0PHP 7.4 - 8.4

v4.3.0PHP 7.4 - 8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c980b1511b4a0350442dc23d89c99d4d9a2411b7e765d52c133ccacf616968b?d=identicon)[janpecha](/maintainers/janpecha)

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

---

Top Contributors

[![Tharos](https://avatars.githubusercontent.com/u/866325?v=4)](https://github.com/Tharos "Tharos (400 commits)")[![janpecha](https://avatars.githubusercontent.com/u/637719?v=4)](https://github.com/janpecha "janpecha (170 commits)")[![castamir](https://avatars.githubusercontent.com/u/1245190?v=4)](https://github.com/castamir "castamir (14 commits)")[![pmachan](https://avatars.githubusercontent.com/u/1494579?v=4)](https://github.com/pmachan "pmachan (5 commits)")[![uestla](https://avatars.githubusercontent.com/u/373888?v=4)](https://github.com/uestla "uestla (4 commits)")[![mibk](https://avatars.githubusercontent.com/u/2324898?v=4)](https://github.com/mibk "mibk (3 commits)")[![vojtech-dobes](https://avatars.githubusercontent.com/u/415925?v=4)](https://github.com/vojtech-dobes "vojtech-dobes (2 commits)")[![cniry](https://avatars.githubusercontent.com/u/2609142?v=4)](https://github.com/cniry "cniry (2 commits)")[![dakujem](https://avatars.githubusercontent.com/u/443067?v=4)](https://github.com/dakujem "dakujem (2 commits)")[![tomburakvikshop](https://avatars.githubusercontent.com/u/192333377?v=4)](https://github.com/tomburakvikshop "tomburakvikshop (2 commits)")[![leninzprahy](https://avatars.githubusercontent.com/u/2902863?v=4)](https://github.com/leninzprahy "leninzprahy (1 commits)")[![radmax](https://avatars.githubusercontent.com/u/1110762?v=4)](https://github.com/radmax "radmax (1 commits)")[![greeny](https://avatars.githubusercontent.com/u/3734204?v=4)](https://github.com/greeny "greeny (1 commits)")[![CodeLingoBot](https://avatars.githubusercontent.com/u/45469328?v=4)](https://github.com/CodeLingoBot "CodeLingoBot (1 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (1 commits)")[![vojir](https://avatars.githubusercontent.com/u/3865942?v=4)](https://github.com/vojir "vojir (1 commits)")[![MartyIX](https://avatars.githubusercontent.com/u/203266?v=4)](https://github.com/MartyIX "MartyIX (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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