PHPackages                             hectororm/hectororm - 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. hectororm/hectororm

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

hectororm/hectororm
===================

Hector ORM

v1.2.2(3mo ago)41.5k↓24%2MITPHPPHP ^8.0CI passing

Since Jul 2Pushed 1mo agoCompare

[ Source](https://github.com/hectororm/hectororm)[ Packagist](https://packagist.org/packages/hectororm/hectororm)[ Docs](https://gethectororm.com)[ RSS](/packages/hectororm-hectororm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (2)

Hector ORM
==========

[](#hector-orm)

[![Latest Version](https://camo.githubusercontent.com/7e3b3ecaac1136aca8bb68dbbfb7213beb260a05e1c18da3795ddca2b8bd0737/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686563746f726f726d2f686563746f726f726d2e7376673f7374796c653d666c61742d737175617265)](https://github.com/hectororm/hectororm/releases)[![Packagist Dependency Version](https://camo.githubusercontent.com/ca8fa3b52abbe2eb92470982878aed9fcc8a21cb035614f2cf509c524d7abdf8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f686563746f726f726d2f686563746f726f726d2f7068703f76657273696f6e3d6465762d6d61696e267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/ca8fa3b52abbe2eb92470982878aed9fcc8a21cb035614f2cf509c524d7abdf8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f686563746f726f726d2f686563746f726f726d2f7068703f76657273696f6e3d6465762d6d61696e267374796c653d666c61742d737175617265)[![Software license](https://camo.githubusercontent.com/51199d264db68fcc96ea43851121ea0248382d1c53f0501ddf6f43eb527cc2d4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f686563746f726f726d2f686563746f726f726d2e7376673f7374796c653d666c61742d737175617265)](https://github.com/hectororm/hectororm/blob/main/LICENSE)[![Build Status](https://camo.githubusercontent.com/b2ffebbba48325ce4bfa57a7d3a6441032b67a76ca5ed72d1c5dbaa3e5305d80/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f686563746f726f726d2f686563746f726f726d2f74657374732e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6162656c3d7465737473)](https://github.com/hectororm/hectororm/actions/workflows/tests.yml?query=branch%3Amain)[![Quality Grade](https://camo.githubusercontent.com/cb7362213766237ebf9fea939e2ba689fa2716f5b98511b78856a5baabcc2b9a/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f66363062343637316333336534303134393261376262613737646639396338612f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://app.codacy.com/gh/hectororm/hectororm)[![Total Downloads](https://camo.githubusercontent.com/132624c949f45d49ba59ce9eaf2c61794797de569b711bd879efc02176976130/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686563746f726f726d2f686563746f726f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hectororm/hectororm)

**Hector ORM** is a modern, modular, and lightweight Object-Relational Mapping (ORM) framework for PHP.

It features a fully decoupled architecture, offering individual components for collections, connections, data types, schema introspection, and query building.
You can use each package independently or as part of the complete Hector ORM solution.

> **All development, issues, and pull requests are managed in this monorepo.**
> Sub-repositories are automatically synchronized for each package.

---

🚀 Features
----------

[](#-features)

- Decoupled, modular design
- Advanced query builder
- Flexible schema introspection
- Type-safe data mapping
- Robust collection utilities
- Lightweight, modern PHP codebase

📦 Installation
--------------

[](#-installation)

You can install Hector ORM and its components using [Composer](https://getcomposer.org):

### Full ORM package

[](#full-orm-package)

```
composer require hectororm/hectororm
```

### Individual components (example)

[](#individual-components-example)

```
composer require hectororm/collection
composer require hectororm/connection
composer require hectororm/data-types
composer require hectororm/migration
composer require hectororm/orm
composer require hectororm/pagination
composer require hectororm/query
composer require hectororm/schema
```

📚 Documentation
---------------

[](#-documentation)

Full documentation, usage guides, and API reference are available at 👉

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

[](#contributing)

Please open all issues and pull requests in this repository.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance85

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

Total

5

Last Release

102d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18268216?v=4)[Ronan Giron](/maintainers/ElGigi)[@ElGigi](https://github.com/ElGigi)

---

Top Contributors

[![ElGigi](https://avatars.githubusercontent.com/u/18268216?v=4)](https://github.com/ElGigi "ElGigi (242 commits)")

---

Tags

ormpdophpquery-buildersql

###  Code Quality

TestsPHPUnit

Static AnalysisRector

### Embed Badge

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

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

###  Alternatives

[phpfastcache/phpfastcache

PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Dynamodb, Firestore, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ravendb, Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.

2.4k5.0M130](/packages/phpfastcache-phpfastcache)[directorytree/ldaprecord

A fully-featured LDAP ORM.

5782.9M10](/packages/directorytree-ldaprecord)[kreait/firebase-bundle

Symfony Bundle for the Firebase Admin SDK

1534.7M2](/packages/kreait-firebase-bundle)[topthink/think-orm

the PHP Database&amp;ORM Framework

4542.0M218](/packages/topthink-think-orm)[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)[patchlevel/event-sourcing

A lightweight but also all-inclusive event sourcing library with a focus on developer experience

198283.8k7](/packages/patchlevel-event-sourcing)

PHPackages © 2026

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