Download the PHP package atoms/database-illuminate without Composer
On this page you can find all versions of the php package atoms/database-illuminate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download atoms/database-illuminate
More information about atoms/database-illuminate
Files in atoms/database-illuminate
Package database-illuminate
Short Description Illuminate bridge for Atoms: the Laravel query builder and Eloquent models against an Atom's own SQLite database.
License MIT
Homepage https://atomsphp.dev
Informations about the package database-illuminate
atoms/database-illuminate
The Laravel query builder and Eloquent models against an Atom's own SQLite
database. Supports Illuminate Database 12 and 13 on PHP 8.3 or later.
This package runs inside the Atom — add it to
atoms-composer.json (together with illuminate/database), not to your
application's composer.json:
Three deliberate differences from a stock Laravel connection, all inherited from the runtime the Atom executes in:
- Nested
transaction()calls reuse the outer transaction instead of creating savepoints — the same semantics asdb()->transaction(). Roll an inner transaction back by throwing; a hand-calledrollBack()inside a nestedtransaction()discards the entire write set and the enclosing wrappers then fail loudly on the already-closed transaction.afterCommit()/afterRollBack()hooks are unsupported (no transactions manager is installed; they throw). - Schema work is refused (
ATOMS-E106): Atoms migrations own DDL. getServerVersion()answers from configuration (the runtime cannot ask the engine), overridable via theserver_versionconnection config key.
Eloquent models never cross the Atom boundary — return ->toArray() shapes
from Atom methods. See the Atoms documentation
for the full semantics notes, including the wide-integer (int64) limits of
the Cloudflare runtime.
Development and support
This package is developed in the Atoms monorepo. Its standalone repository is a read-only distribution mirror; report issues and send pull requests to the monorepo. Licensed under the MIT License.
All versions of database-illuminate with dependencies
ext-pdo Version *
atoms/core Version ^0.9
illuminate/database Version ^12.0 || ^13.0