Package
Illuminate Database
The Illuminate Database package.
Overview
What Illuminate Database does
The Illuminate Database package is a comprehensive database toolkit for PHP, offering a query builder, ActiveRecord style ORM, and schema builder designed to work both inside and outside of Laravel.
Illuminate Database provides a robust solution for developers seeking an expressive and flexible database interaction layer. It supports major databases including MySQL, PostgreSQL, SQL Server, and SQLite. While it's integral to the Laravel framework, its Capsule manager facilitates usage in standalone PHP projects, broadening its applicability beyond Laravel applications.
With the Capsule manager, developers can easily configure database connections and utilize features like the query builder and schema builder. The query builder allows for fluent query construction, enabling actions like retrieving users from a database with specific conditions. Each query mimics the convenience provided within Laravel's ecosystem.
The package also includes an ActiveRecord style ORM, Eloquent, which simplifies working with database records as if they were objects, embodying PHP classes. Developers can define Eloquent models and perform typical database queries without the complexity of raw SQL. It supports optional features like event dispatching and global access for handling more advanced use cases.
Illuminate Database appeals to PHP developers looking for a full-featured database toolkit that retains Laravel’s expressive syntax and functionality while being portable enough to integrate with non-Laravel applications.
This overview was generated by AI from the package README and may not reflect the latest release.
Read the full README →