PHPackages                             wp-kit/cleanoquent - 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. wp-kit/cleanoquent

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

wp-kit/cleanoquent
==================

A wp-kit component that serves clean Eloquent models for Wordpress

1.0.2(4y ago)01.0k↓83.3%MITPHPPHP &gt;=7.2

Since Sep 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wp-kit/cleanoquent)[ Packagist](https://packagist.org/packages/wp-kit/cleanoquent)[ Docs](https://github.com/wp-kit/cleanoquent)[ RSS](/packages/wp-kit-cleanoquent/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

wp-kit/cleanoquent
==================

[](#wp-kitcleanoquent)

This is a wp-kit component that serves clean [`Eloquent`](https://laravel.com/docs/5.4/eloquent) models for Wordpress.

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

[](#installation)

If you're using [`Themosis`](http://framework.themosis.com/), install via [`Composer`](https://getcomposer.org/) in the root of your `Themosis` installation, otherwise install in your `Composer` driven theme folder:

```
composer require "wp-kit/cleanoquent"
```

Usage
-----

[](#usage)

### Model

[](#model)

`wp-kit/cleanoquent` comes with various models which you can extend. For posts `wp-kit/cleanoquent` uses [`wp-kit/magic-meta`](https://github.com/wp-kit/magic-meta) to append and query for meta data.

```
namespace Theme\Models;

use WPKit\Cleanoquent\Model\Post;

class Address extends Post {

    /**
	     * The post_type associated with the model.
	     *
	     * @var string
	     */
		protected $post_type = 'wc-address';

		/**
	     * The magic_meta attributes that are mass assignable.
	     *
	     * @var array
	     */
		protected $magic_meta = [
			'_first_name' => 'first_name',
			'_last_name' => 'last_name',
			'_company' => 'company',
			'_address_1' => 'address_1',
			'_address_2' => 'address_2',
			'_city' => 'city',
			'_state' => 'state',
			'_postcode' => 'postcode',
			'_country' => 'country',
			'_email' => 'email',
			'_phone' => 'phone'
		];

}
```

Get Involved
------------

[](#get-involved)

To learn more about how to use `wp-kit` check out the docs:

[View the Docs](https://github.com/wp-kit/theme/tree/docs/README.md)

Any help is appreciated. The project is open-source and we encourage you to participate. You can contribute to the project in multiple ways by:

- Reporting a bug issue
- Suggesting features
- Sending a pull request with code fix or feature
- Following the project on [GitHub](https://github.com/wp-kit)
- Sharing the project around your community

For details about contributing to the framework, please check the [contribution guide](https://github.com/wp-kit/theme/tree/docs/Contributing.md).

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

[](#requirements)

Wordpress 4+

PHP 5.6+

License
-------

[](#license)

wp-kit/cleanoquent is open-sourced software licensed under the MIT License.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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 ~714 days

Total

3

Last Release

1780d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.6.4

1.0.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/b4cf98026bd84498477fafbfb9648807bf87c5ec9a0a404db2e3b7e2739cc8f9?d=identicon)[terence1990](/maintainers/terence1990)

---

Top Contributors

[![terence1990](https://avatars.githubusercontent.com/u/8171301?v=4)](https://github.com/terence1990 "terence1990 (12 commits)")

---

Tags

wordpresseloquentcleanOOPthemosiswp-kitassley

### Embed Badge

![Health badge](/badges/wp-kit-cleanoquent/health.svg)

```
[![Health](https://phpackages.com/badges/wp-kit-cleanoquent/health.svg)](https://phpackages.com/packages/wp-kit-cleanoquent)
```

###  Alternatives

[dbout/wp-orm

WordPress ORM with Eloquent.

12910.3k1](/packages/dbout-wp-orm)[tiny-pixel/acorn-db

Eloquent database support for Acorn projects

368.8k](/packages/tiny-pixel-acorn-db)

PHPackages © 2026

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