PHPackages                             marco/simple-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. marco/simple-eloquent

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

marco/simple-eloquent
=====================

This is a simplified version of the Eloquent ⚡️

v1.0.0(8y ago)2191MITPHPPHP &gt;=7.0

Since Dec 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/m9rco/SimpleEloquent)[ Packagist](https://packagist.org/packages/marco/simple-eloquent)[ RSS](/packages/marco-simple-eloquent/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

SimpleEloquent ORM
==================

[](#simpleeloquent-orm)

[![Build Status](https://camo.githubusercontent.com/f95f7001e180e99b075019f21abb30bde7cc647c375ae3b85ad63e20c889830d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f50755368616f5765692f53696d706c65456c6f7175656e742e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/PuShaoWei/SimpleEloquent)[![Coverage Status](https://camo.githubusercontent.com/a84b556777e9206e4dc4ebfb67b4dcf860e2c64c0310ef7a7044dd2bd040eb34/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f50755368616f5765692f53696d706c65456c6f7175656e742e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/PuShaoWei/SimpleEloquent)[![Scrutinizer](https://camo.githubusercontent.com/bc019391f8001ad98d91e2462db4bd0bef68223a471e8c1c63809e32c973453f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f50755368616f5765692f53696d706c65456c6f7175656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/PuShaoWei/SimpleEloquent/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/31eaeef7295a4987730d033f34ca2748788bca0211eb65ee2ab0fd6ed539bb3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6172636f2f73696d706c652d656c6f7175656e742e7376673f7374796c653d666c61742d737175617265266c6162656c3d737461626c65)](https://packagist.org/packages/marco/SimpleEloquent)[![License](https://camo.githubusercontent.com/6f3975a51fb2de8161ad0648a82b607488cc92b58ee3143e46faa2be78f41825/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d6172636f2f73696d706c652d656c6f7175656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marco/SimpleEloquent)

Installation
------------

[](#installation)

Use the following command to install

```
composer require marco/simple-eloquent
```

Application step
----------------

[](#application-step)

> Really don't have too much time delay in the docker mysql on the mirror, so I gave in, manual, please...

Running with docker-compos

Step1: Start the container

```
docker-compose up --build -d

```

Step2: Connected to the master, and run the following command to create a user used to synchronize data

```
GRANT REPLICATION SLAVE ON *.* to 'backup'@'%' identified by '123456';

```

Step3: See master status, remember the File, the value of the Position, if you don't have to check the data, please check the first and the second step, the configuration problems. I found out that master-bin.000017, 312

```
show master status;

```

Step4: Connect the slave, run the following command to connect the master

```
change master to master_host='smart_master',master_user='backup',master_password='123456', master_log_file='master-bin.000004',master_log_pos=320;

```

Step5: Start the slave

```
start slave;

```

Step6: Check the slave status.

```
show slave status\G

```

If you see `Waiting for master send event` indicates success, you are now in the main library on the modification, synchronization to from the library.

About
-----

[](#about)

This is a simplified version of the Eloquent

Correct the mistakes
--------------------

[](#correct-the-mistakes)

If you find something wrong, you can initiate a [issue](https://github.com/PuShaoWei/dhildish/issues)or [pull request](https://github.com/PuShaoWei/dhildish/pulls),I will correct it in time

Contributors
------------

[](#contributors)

   [![](https://avatars2.githubusercontent.com/u/18391791?v=1)](https://github.com/PuShaoWei)Marco

   License
-------

[](#license)

MIT

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% 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

Unknown

Total

1

Last Release

3115d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46323634?v=4)[Marco](/maintainers/PuShaoWei)[@pushaowei](https://github.com/pushaowei)

---

Top Contributors

[![m9rco](https://avatars.githubusercontent.com/u/18391791?v=4)](https://github.com/m9rco "m9rco (8 commits)")[![pushaowei](https://avatars.githubusercontent.com/u/46323634?v=4)](https://github.com/pushaowei "pushaowei (3 commits)")

---

Tags

databaseormsql

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[cycle/database

DBAL, schema introspection, migration and pagination

65746.2k48](/packages/cycle-database)[dbout/wp-orm

WordPress ORM with Eloquent.

12910.2k1](/packages/dbout-wp-orm)[agungsugiarto/codeigniter4-eloquent

The Illuminate Database package for CodeIgniter 4

264.5k](/packages/agungsugiarto-codeigniter4-eloquent)[bigsinoos/j-eloquent

Convert eloquent date attributes to jalali (Persian) dates on the fly. (supports model propery access, toJson, toString and toArray).

214.7k](/packages/bigsinoos-j-eloquent)

PHPackages © 2026

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