Light & fast PHP ORM, using Hydrahon (query builder), Carbon (DateTime extension) and Eloquent's Collection component (Laravel).

0.3.36 2023-11-24 15:00 UTC

This package is auto-updated.

Last update: 2024-04-06 09:25:40 UTC


README

Lightning ORM is an Object Relational Mapper written in PHP.

Latest Stable Version Total Downloads License Build Status Code Coverage Scrutinizer Code Quality

Why reinventing the wheel ?

todo...

Installation

Lightning ORM follows PSR-4 autoloading and can be installed using composer:

$ composer require 'lightning/orm'

Running tests

The root user should be able to connect to MySQL without any password.
You should also run those two commands to install the dependencies and the test database :

$ composer install
$ tests/bin/init.sh

After that, you can run the tests using Composer :

$ composer test

Quick Start

todo...

Dependencies

Lightning ORM is using Hydrahon (query builder), Carbon (DateTime extension) and Eloquent's Collection component (Laravel).

License

The MIT License (MIT). Please see License File for more information.