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.4.0(3d ago)43.7k↑75.3%2MITPHPPHP ^8.0CI passing

Since Jul 2Pushed 1w 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 2d ago

READMEChangelog (6)Dependencies (32)Versions (8)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

49

—

FairBetter than 94% of packages

Maintenance99

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

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

Recently: every ~42 days

Total

7

Last Release

3d 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 (364 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

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.6k86.4k1](/packages/getgrav-grav)

PHPackages © 2026

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