PHPackages                             tiny-pixel/acorn-models - 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. tiny-pixel/acorn-models

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

tiny-pixel/acorn-models
=======================

Eloquent database support for Acorn projects

1.0.0.x-dev(6y ago)371510[4 issues](https://github.com/pixelcollective/acorn-models/issues)[3 PRs](https://github.com/pixelcollective/acorn-models/pulls)MITPHPPHP &gt;=7.3

Since Sep 16Pushed 2y ago6 watchersCompare

[ Source](https://github.com/pixelcollective/acorn-models)[ Packagist](https://packagist.org/packages/tiny-pixel/acorn-models)[ RSS](/packages/tiny-pixel-acorn-models/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (7)Used By (0)

AcornDB
=======

[](#acorndb)

[![Package Version](https://camo.githubusercontent.com/ad71b27e59111b711cbc159c402ac28d82d348eac455ed46ba4360c567045c47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74696e792d706978656c2f61636f726e2d64623f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/ad71b27e59111b711cbc159c402ac28d82d348eac455ed46ba4360c567045c47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74696e792d706978656c2f61636f726e2d64623f7374796c653d666c61742d737175617265) [![Total Downloads](https://camo.githubusercontent.com/d0291153cedcfd5fa5e71ef581cb7ce0dd02da1f4fa0ba797776f5ec9af0f8b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696e792d706978656c2f61636f726e2d64623f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/d0291153cedcfd5fa5e71ef581cb7ce0dd02da1f4fa0ba797776f5ec9af0f8b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696e792d706978656c2f61636f726e2d64623f7374796c653d666c61742d737175617265)

Provides [Sage 10](https://github.com/roots/sage) and other [Acorn projects](https://github.com/roots/acorn) with an eloquent Model layer straight from the heart of the Laravel framework.

Features
--------

[](#features)

- Eloquent modeling of WordPress tables.
- Out of the box support for [Advanced Custom Fields](https://advancedcustomfields.com).
- Migrations, database seeders and factories.
- Command-line utilities to automate installation and maintenance of your database and business logic.

Requirements
------------

[](#requirements)

- [Sage](https://github.com/roots/sage) &gt;= 10.0
- [PHP](https://secure.php.net/manual/en/install.php) &gt;= 7.1.3
- [Composer](https://getcomposer.org)

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

[](#installation)

Install via Composer:

```
$ composer require tiny-pixel/acorn-db
```

After installation, run the following command to publish the configuration files, starter

```
$ wp acorn vendor:publish
```

Bug Reports
-----------

[](#bug-reports)

Should you discover a bug in AcornDB, and there are going to be bugs, please [open an issue](https://github.com/pixelcollective/acorn-db/issues).

Contributing
------------

[](#contributing)

Contributing, whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

All contributors absolutely must strictly adhere to our [Code of Conduct](https://github.com/pixelcollective/acorn-db/blob/master/LICENSE.md).

Acknowledgements
----------------

[](#acknowledgements)

- [Corcel/Corcel](https://github.com/corcel/corcel)
- [drewjbartlett/wordpress-eloquent](https://github.com/drewjbartlett/wordpress-eloquent)
- [tareq1988/wp-eloquent](https://github.com/tareq1988/wp-eloquent)

License
-------

[](#license)

AcornDB is provided under the [MIT License](https://github.com/pixelcollective/acorn-mail/blob/master/LICENSE.md).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e08df5442e0213f908535bba31bc1ad0ed213f176a5332b38922e9b7d39792b?d=identicon)[Tiny Pixel](/maintainers/Tiny%20Pixel)

---

Top Contributors

[![kellymears](https://avatars.githubusercontent.com/u/397606?v=4)](https://github.com/kellymears "kellymears (68 commits)")

---

Tags

databaseeloquentmodelrootssage10wordpresswordpresseloquentsageacorn

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tiny-pixel-acorn-models/health.svg)

```
[![Health](https://phpackages.com/badges/tiny-pixel-acorn-models/health.svg)](https://phpackages.com/packages/tiny-pixel-acorn-models)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[tiny-pixel/acorn-db

Eloquent database support for Acorn projects

388.7k](/packages/tiny-pixel-acorn-db)[tareq1988/wp-eloquent

Eloquent ORM for WordPress

57254.7k](/packages/tareq1988-wp-eloquent)[mehdi-fathi/eloquent-filter

Eloquent Filter adds custom filters automatically to your Eloquent Models in Laravel.It's easy to use and fully dynamic, just with sending the Query Strings to it.

450191.6k1](/packages/mehdi-fathi-eloquent-filter)[dbout/wp-orm

WordPress ORM with Eloquent.

1279.6k1](/packages/dbout-wp-orm)[drewjbartlett/wordpress-eloquent

A Laravel wrapper for wordpress which turns all Wordpress models into Laravel Eloquent Models.

1521.5k](/packages/drewjbartlett-wordpress-eloquent)

PHPackages © 2026

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