# gabordemooij/redbean

ORM layer that creates models, config and database on the fly

Repository: https://github.com/gabordemooij/redbean
Canonical: https://ross.abutalabs.com/products/redbean
Homepage: https://www.redbeanphp.com
Language: PHP
License Family: other
Last push: 2026-07-09T20:22:44+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 49, longevity 100
- inputs: {"age_days": 6305, "days_push": 55, "days_rel": 125, "gap_med": 335, "n_releases_24m": 2}
- 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 2315, forks 272 (observed 2026-08-28T04:06:36.767589+00:00)

## What it is
RedBeanPHP is a lightweight, zero-configuration ORM for PHP that automatically creates tables and columns as you work with objects. It ships as a single file and requires no setup, letting developers store and retrieve beans (models) immediately.

## Use cases
- rapidly prototype a PHP app without writing SQL schemas
- store objects in a database without configuring an ORM
- auto-create database tables and columns on the fly
- quickly persist and query records in a small PHP project
- swap between MySQL, SQLite, or Postgres with minimal code

## When to choose
- you want a no-config ORM for rapid prototyping or small projects
- you need database tables generated automatically from your code
- you prefer a single-file library with no autoloaders or package tooling

## When to avoid
- you need strict schema migrations and versioned database changes
- you require fine-grained control over queries and performance tuning
- your project needs a formally licensed dependency (no license file is present)

## Facets
- artifact type: library
- maturity: stable
- function: orm, database
- domain: databases, web-development, backend
- platform: php
- tags: zero-configuration, fluid-schema, single-file, php-orm

## Member repositories
- gabordemooij/redbean (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:36.767589+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-30T02:39:25.479224+00:00, confidence not recorded.
  - readme: https://github.com/gabordemooij/redbean (fetched 2026-08-28T04:06:36.767589+00:00, sha 689dbf53ea11)
- Data as of 2026-08-30T08:39:29.467469+00:00.
