PHPackages                             motor-cms/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. motor-cms/motor-core

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

motor-cms/motor-core
====================

Motor base package

2026.26.5(1w ago)41.4k↓42.9%3MITPHPPHP ^8.4CI passing

Since Nov 19Pushed 4w ago2 watchersCompare

[ Source](https://github.com/motor-cms/motor-core)[ Packagist](https://packagist.org/packages/motor-cms/motor-core)[ RSS](/packages/motor-cms-motor-core/feed)WikiDiscussions production Synced 2d ago

READMEChangelogDependencies (60)Versions (386)Used By (3)

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

63

—

FairBetter than 99% of packages

Maintenance96

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity100

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 90.3% 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 ~9 days

Recently: every ~3 days

Total

376

Last Release

7d ago

Major Versions

3.19.0 → 4.5.02025-08-06

4.12.0 → 2025.50.0-alpha2025-12-01

4.14.0 → 2026.9.0-RC12025-12-10

2025.50.2-RC → 2026.11.0-beta02026-03-09

1.4.13 → 2026.20.1-RC12026-05-13

PHP version history (11 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.0PHP ^8.0

1.2.0PHP ^8.0.2

2.0.1PHP ^8.1

2.4.0PHP ^8.2

3.0PHP ^8.3

4.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33766568?v=4)[motor-cms](/maintainers/motor-cms)[@motor-cms](https://github.com/motor-cms)

---

Top Contributors

[![dfox288](https://avatars.githubusercontent.com/u/879706?v=4)](https://github.com/dfox288 "dfox288 (159 commits)")[![lu-roth](https://avatars.githubusercontent.com/u/37230820?v=4)](https://github.com/lu-roth "lu-roth (15 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)")

---

Tags

motor

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)

PHPackages © 2026

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