PHPackages                             erdiko/eloquent - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. erdiko/eloquent

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

erdiko/eloquent
===============

Eloquent database ORM

1.0.0(9y ago)65925MITPHPPHP &gt;=5.4.0

Since Mar 9Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Erdiko/eloquent)[ Packagist](https://packagist.org/packages/erdiko/eloquent)[ Docs](http://erdiko.org)[ RSS](/packages/erdiko-eloquent/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

Eloquent
========

[](#eloquent)

Use the Eloquent ORM from Laravel in your Erdiko app

Eloquent is a great ORM that uses the active record pattern.

You can use this to easily add Eleoquent to your erdiko app

To install via composer

```
composer require erdiko/eloquent

```

How to Use
----------

[](#how-to-use)

In order to use Eloquent in your framework you can do one of the following

1. Require in the bootstrap file (/app/appstrap.php) and Eloquent is available on all pages/routes

```
    require_once VENDOR.'/erdiko/eloquent/src/bootstrap.php';

```

2. Lazy load Eloquent by having your models extend the erdiko\\eloquent\\Model class instead of the \\Illuminate\\Database\\Eloquent\\Model class

```
    class Users extends erdiko\eloquent\Model { }

```

3. Lazy load using traits; Create a base model and

```
    class BaseModel extends \Illuminate\Database\Eloquent\Model {
        use \erdiko\eloquent\EloquentTraits;
    }

```

Remember you only need to pick one scheme above, no need for all three. #2 is probably the most convenient.

Roadmap
-------

[](#roadmap)

Coming Soon

Read More
---------

[](#read-more)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~201 days

Total

3

Last Release

3311d ago

Major Versions

0.1.1 → 1.0.02017-04-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/691c8888935e19e59a2dd12e4e056e9b05991f4ebe696ef27fc01db8e9d1c984?d=identicon)[arroyolabs](/maintainers/arroyolabs)

---

Top Contributors

[![arroyo](https://avatars.githubusercontent.com/u/378457?v=4)](https://github.com/arroyo "arroyo (7 commits)")

---

Tags

eloquenterdikolaravelormlaraveldatabaseormsqleloquentactive-recorderdiko

### Embed Badge

![Health badge](/badges/erdiko-eloquent/health.svg)

```
[![Health](https://phpackages.com/badges/erdiko-eloquent/health.svg)](https://phpackages.com/packages/erdiko-eloquent)
```

###  Alternatives

[sofa/model-locking

Pseudo pessimistic model locking with broadcasted events for Laravel Eloquent ORM.

5048.0k](/packages/sofa-model-locking)[eusonlito/laravel-database-cache

Cache Database Query results on Laravel Query Builder or Eloquent

194.2k](/packages/eusonlito-laravel-database-cache)[andreagroferreira/laravel-sync-tracker

A Laravel package for tracking entity synchronization status between systems

113.0k](/packages/andreagroferreira-laravel-sync-tracker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
