PHPackages                             dborsatto/sql-result-set-mapper - 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. dborsatto/sql-result-set-mapper

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

dborsatto/sql-result-set-mapper
===============================

5.0.0(5mo ago)06.1k↓50%MITPHPPHP ^8.3

Since Mar 31Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/dborsatto/sql-result-set-mapper)[ Packagist](https://packagist.org/packages/dborsatto/sql-result-set-mapper)[ RSS](/packages/dborsatto-sql-result-set-mapper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (14)Used By (0)

SQL Result Set Mapper
=====================

[](#sql-result-set-mapper)

[![Packagist](https://camo.githubusercontent.com/39bca25c50cb52fe7363799a1bd7d741c36ed863146f3859b5d2301c6405503b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64626f72736174746f2f73716c2d726573756c742d7365742d6d61707065722e737667)](https://packagist.org/packages/dborsatto/sql-result-set-mapper)[![PHP version](https://camo.githubusercontent.com/4362b2c8c44e07b40e4c274c5b05f0ae2ec80b21e93672ebdc8fbd902b9459a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f64626f72736174746f2f73716c2d726573756c742d7365742d6d61707065722e737667)](https://packagist.org/packages/dborsatto/sql-result-set-mapper)[![Packagist](https://camo.githubusercontent.com/0598ffb3a9ddda33c111e871c18edc39964d391c6f852d6df0f6404d106bd865/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f64626f72736174746f2f73716c2d726573756c742d7365742d6d61707065722e7068702e737667)](https://packagist.org/packages/dborsatto/sql-result-set-mapper)

`dborsatto/sql-result-set-mapper` is a PHP library that allows you to map a result from an SQL query to an array of PHP objects.

Installation
------------

[](#installation)

As with any Composer package, run the CLI command to require the library in your application:

```
composer require dborsatto/sql-result-set-mapper
```

Getting started
---------------

[](#getting-started)

Documentation is currently in the works, in the meanwhile please refer to the [examples](examples.php) file.

License
-------

[](#license)

This repository is published under the [MIT](LICENSE.md) license.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance71

Regular maintenance activity

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

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

Recently: every ~188 days

Total

13

Last Release

162d ago

Major Versions

1.3.0 → 2.0.02023-01-26

2.1.0 → 3.0.02023-11-15

3.0.2 → 4.0.02025-05-20

4.0.0 → 5.0.02025-12-08

PHP version history (3 changes)1.0.0PHP ^7.4|^8.0

3.0.0PHP ^8.0

4.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e1c61de690e3a51a67237e831ce74274e1f38181d2f9bef575c49579e03c5c2?d=identicon)[dborsatto](/maintainers/dborsatto)

---

Top Contributors

[![dborsatto](https://avatars.githubusercontent.com/u/94651?v=4)](https://github.com/dborsatto "dborsatto (17 commits)")

---

Tags

phpphp-library

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dborsatto-sql-result-set-mapper/health.svg)

```
[![Health](https://phpackages.com/badges/dborsatto-sql-result-set-mapper/health.svg)](https://phpackages.com/packages/dborsatto-sql-result-set-mapper)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[doctrine/doctrine-laminas-hydrator

Doctrine hydrators for Laminas applications

362.8M19](/packages/doctrine-doctrine-laminas-hydrator)[laminas-api-tools/api-tools-doctrine

Laminas API Tools Doctrine module

10633.9k5](/packages/laminas-api-tools-api-tools-doctrine)

PHPackages © 2026

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