illuminate

illuminate/database

PHP MIT Web Dev

[READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework)

2.8k stars
609 forks
active
GitHub +2 / week

2.8k

Stars

609

Forks

7

Open issues

30

Contributors

AI Analysis

Illuminate Database is a full-featured database toolkit for PHP providing query builders, an ActiveRecord-style ORM (Eloquent), and schema builders with support for MySQL, PostgreSQL, SQL Server, and SQLite. It serves as the database abstraction layer for the Laravel framework and can be used independently via the Capsule manager. This library is best suited for PHP developers building applications that need robust database access patterns, whether within Laravel or as a standalone package.

Web Dev Library Discovery value: 2/10
Documentation 8/10
Activity 9/10
Community 8/10
Code quality 5/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

orm query-builder database-abstraction php laravel
Actively maintained Well documented MIT licensed Popular Production ready
Deep Analysis · Based on README and public signals
1d ago

Laravel's database layer available standalone, but primarily a subtree split serving framework users

Illuminate Database is the database abstraction layer extracted from Laravel framework, providing query builder, Eloquent ORM, and schema builder for MySQL, Postgres, SQL Server, and SQLite. It exists primarily as a read-only subtree split to enable use outside Laravel. Real adoption appears concentrated within the Laravel ecosystem itself; standalone adoption is difficult to quantify but likely modest relative to Doctrine or Eloquent-via-Laravel.

Origin

Created in 2012 as part of Laravel framework development. Extracted as a standalone package to allow use without the full framework, through the Capsule bootstrapping mechanism. Remains tightly coupled to Laravel's architecture and design patterns.

Growth

Star count (2,771) is modest relative to Laravel (84,604) and Doctrine (9,704). Growth appears gradual and stable rather than accelerating. Last 7 days: +2 stars suggests sustained but slow external adoption signal. Most visibility and usage likely flows through Laravel framework adoption rather than direct package consumption.

In production

Adoption not verified through public metrics in README or repository metadata. Implicit adoption within Laravel ecosystem (which is widely used in production), but quantifying standalone Illuminate\Database usage independent of Laravel framework is not possible from available evidence. Comparable packages (Sushi, l5-repository) show higher star counts despite narrower use cases, suggesting standalone adoption may be limited.

Code analysis
Architecture

Based on README, appears to follow ActiveRecord pattern (Eloquent models) paired with fluent query builder API. Capsule manager enables bootstrap outside Laravel container. Likely shares Laravel's service container and event dispatcher architecture. README suggests modular design with optional event integration.

Tests

Not documented in README. No visibility into test suite, coverage metrics, or testing strategy from available metadata.

Maintenance

Last push 2026-07-07 (2 days before analysis date) indicates active maintenance. Consistent with framework release cycle. However, this is a read-only subtree split, so pushes reflect upstream Laravel framework activity rather than standalone development. Fork count (609) and modest recent star growth suggest stable but not exponentially growing adoption.

Honest verdict

ADOPT IF: you are already using Laravel or committed to its design patterns; you need query builder and ORM in a non-Laravel project and prefer Laravel's API over alternatives. AVOID IF: you require framework-agnostic database abstraction with minimal coupling; you want active standalone development separate from Laravel release cycle; you prefer Doctrine's lower-level control. MONITOR IF: you are evaluating database solutions for a PHP project and unsure whether to couple to Laravel ecosystem; you need assurance that standalone Capsule usage is production-hardened (adoption evidence is limited).

Independent dimensions

Mainstream potential

4/10

Technical importance

7/10

Adoption evidence

3/10

Risks
  • Tight coupling to Laravel container, event dispatcher, and design patterns limits utility in non-Laravel contexts despite Capsule wrapper.
  • Read-only subtree split means all development is upstream; no standalone feature requests or independent roadmap — changes driven by Laravel framework needs, not package users.
  • Adoption outside Laravel ecosystem is unverified; standalone users may face edge cases not covered by Laravel-centric testing and documentation.
  • Documentation assumes Laravel familiarity; standalone setup requires additional dependency wiring (events, container) that may be unfamiliar to non-Laravel developers.
  • Smaller standalone adoption than Doctrine or Propel suggests potential ecosystem brittleness if Laravel framework popularity declines.
Prediction

Likely to remain a stable, well-maintained component within Laravel ecosystem with modest standalone adoption. Standalone use may grow in lightweight projects seeking familiarity with Laravel patterns, but unlikely to significantly erode Doctrine's market share in framework-agnostic contexts. Maintenance will remain tied to Laravel release cadence.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

PHP
100%

Information

Language
PHP
License
MIT
Last updated
12h ago
Created
172mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Recent releases

No releases published yet.

Similar repos

doctrine

doctrine/dbal

Doctrine DBAL is a mature database abstraction layer for PHP that provides a...

9.7k PHP Dev Tools
calebporzio

calebporzio/sushi

Sushi provides an in-memory array driver for Laravel's Eloquent ORM,...

3k PHP Web Dev
laravel

laravel/laravel

Laravel is a mature PHP web application framework providing routing, ORM,...

84.7k Blade Web Dev
laravel

laravel/lumen-framework

Lumen is a micro-framework built on Laravel components, optimized for speed and...

1.5k PHP Web Dev
spatie

spatie/laravel-query-builder

laravel-query-builder is a PHP library that simplifies building Eloquent...

4.5k PHP Web Dev
vs. alternatives
Doctrine DBAL

More stars (9,704 vs 2,771), database abstraction focus, framework-agnostic. Doctrine targets broader PHP ecosystem; Illuminate is tightly coupled to Laravel patterns and primarily consumed within that context.

Eloquent (via Laravel framework)

Same codebase, but accessed through full framework. Direct package use via Capsule is alternative for non-Laravel projects, but adds setup friction compared to framework integration.

Propel ORM

Legacy PHP ORM with declining adoption. Illuminate is more actively maintained and modern in API design, but Propel's slower decline reflects similar niche positioning.

Cake ORM

CakePHP's ORM, similarly tied to its framework. Comparable adoption strategy and technical approach; both serve framework-first users rather than targeting framework-agnostic market.

Dibi (PHP database abstraction)

Lightweight, framework-agnostic database layer. Smaller ecosystem but designed for standalone use; Illuminate prioritizes Laravel integration over standalone usability.