PHPackages                             dfox288/motor-core - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dfox288/motor-core

Abandoned → [motor-cms/motor-core](/?search=motor-cms%2Fmotor-core)Library[Utility &amp; Helpers](/categories/utility)

dfox288/motor-core
==================

Motor base package

1.1.5(4y ago)4127MITPHPPHP ^7.4|^8.0CI passing

Since Nov 19Pushed 4d ago2 watchersCompare

[ Source](https://github.com/dfox288/motor-core)[ Packagist](https://packagist.org/packages/dfox288/motor-core)[ RSS](/packages/dfox288-motor-core/feed)WikiDiscussions production Synced today

READMEChangelogDependencies (8)Versions (71)Used By (0)

Motor Core
==========

[](#motor-core)

Foundation package for the Motor CMS framework. Provides base classes, traits, filters, services, and renderers that all other Motor packages extend.

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

[](#installation)

```
composer require motor-cms/motor-core
```

What This Package Provides
--------------------------

[](#what-this-package-provides)

### Base Classes

[](#base-classes)

- **Filter system** -- Query filtering with pluggable renderers (select, where, search, sort, pagination, relation)
- **HTTP layer** -- Base controllers, resources, requests, and middleware
- **Service support** -- Service layer infrastructure
- **Console commands** -- Scaffolding generators

### Traits

[](#traits)

TraitPurpose`Filterable`Adds query filtering scope and searchable options to models`Searchable`Laravel Scout search integration`CheckForeignKeys`Validates foreign key constraints before deletion### Filter Renderers

[](#filter-renderers)

RendererPurpose`SelectRenderer`Dropdown filter options`WhereRenderer`Direct where clause filtering`SearchRenderer`Full-text search`SortRenderer`Column sorting`PerPageRenderer`Pagination size`RelationRenderer`Relationship-based filtering### Global Search

[](#global-search)

Cross-model search service with typed DTOs for search results.

Package Structure
-----------------

[](#package-structure)

```
src/
├── Console/          # Scaffolding generators
├── Data/             # Data Transfer Objects
├── Database/         # Database support classes
├── Filter/           # Filter system (Base, Filter, Renderers/)
├── Helpers/          # Shared helper functions
├── Http/             # Controllers, Middleware, Requests, Resources, Traits
├── L5Swagger/        # OpenAPI documentation support
├── Providers/        # Service providers
├── Services/         # Service layer (GlobalSearchService, AWS)
├── Support/          # Additional support classes
└── Traits/           # Filterable, Searchable, CheckForeignKeys

```

Dependencies
------------

[](#dependencies)

This package has no dependencies on other Motor packages. It is the foundation layer.

Credits
-------

[](#credits)

- [Reza Esmaili](https://github.com/dfox288)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance65

Regular maintenance activity

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 89.1% 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 ~26 days

Recently: every ~51 days

Total

70

Last Release

1695d ago

Major Versions

0.10.1 → 1.0.02020-12-17

1.1.5 → 2.0.x-dev2021-11-08

PHP version history (6 changes)0.8.1PHP ^7.1.3

0.9.0PHP ^7.2

0.10.1PHP ^7.2.5

1.0.0PHP ^7.3

1.1.0PHP ^7.4|^8.0

2.0.x-devPHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![dfox288](https://avatars.githubusercontent.com/u/879706?v=4)](https://github.com/dfox288 "dfox288 (163 commits)")[![lu-roth](https://avatars.githubusercontent.com/u/37230820?v=4)](https://github.com/lu-roth "lu-roth (15 commits)")[![zr-dev](https://avatars.githubusercontent.com/u/116643118?v=4)](https://github.com/zr-dev "zr-dev (2 commits)")[![flauschi-hakigo](https://avatars.githubusercontent.com/u/73136623?v=4)](https://github.com/flauschi-hakigo "flauschi-hakigo (1 commits)")[![kuntzloic](https://avatars.githubusercontent.com/u/54593969?v=4)](https://github.com/kuntzloic "kuntzloic (1 commits)")[![zrm-mhenrichs](https://avatars.githubusercontent.com/u/106661846?v=4)](https://github.com/zrm-mhenrichs "zrm-mhenrichs (1 commits)")

---

Tags

motor

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dfox288-motor-core/health.svg)

```
[![Health](https://phpackages.com/badges/dfox288-motor-core/health.svg)](https://phpackages.com/packages/dfox288-motor-core)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3911.7k](/packages/codewithdennis-larament)

PHPackages © 2026

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