# j4mie/idiorm

A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.

Repository: https://github.com/j4mie/idiorm
Canonical: https://ross.abutalabs.com/products/idiorm
Homepage: http://j4mie.github.com/idiormandparis/
Language: PHP
License Family: other
Last push: 2024-03-14T07:17:09+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 6048, "days_push": 902, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1982, forks 358 (observed 2026-08-28T04:06:01.829261+00:00)

## What it is
Idiorm is a lightweight, nearly-zero-configuration object-relational mapper and fluent query builder for PHP, built on top of PDO with prepared statements throughout. It is now in maintenance-only mode, receiving bug fixes but no new features, with Eloquent recommended for new projects.

## Use cases
- run simple CRUD queries in PHP without heavy ORM setup
- build fluent SQL queries with a lightweight query builder
- protect against SQL injection using prepared statements
- map database rows to objects in a legacy PHP application
- query a database with minimal configuration over PDO

## When to choose
- you maintain an existing project already built on Idiorm or Paris
- you need a tiny, zero-config ORM for simple queries in legacy PHP
- you want a fluent query builder without a full framework

## When to avoid
- you are starting a new PHP project (use Eloquent or a modern ORM instead)
- you need active feature development or support for future PHP versions
- you need complex ORM features like relations, migrations, or eager loading

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, database-driver, database
- domain: databases, web-development, backend, developer-tools
- platform: php
- tags: query-builder, pdo, fluent-api, active-record, lightweight, zero-configuration

## Member repositories
- j4mie/idiorm (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.829261+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:03:32.285813+00:00, confidence not recorded.
  - readme: https://github.com/j4mie/idiorm (fetched 2026-08-28T04:06:01.829261+00:00, sha 7e14994d6a21)
- Data as of 2026-08-30T08:39:29.467469+00:00.
