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

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

motor-cms/motor-media
=====================

Motor media module

2026.18.3(3w ago)27701MITPHPPHP ^8.4CI passing

Since Mar 12Pushed yesterday1 watchersCompare

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

READMEChangelogDependencies (12)Versions (265)Used By (0)

Motor Media
===========

[](#motor-media)

Media management package for the Motor CMS framework. Provides file uploads, directory management, and media library functionality.

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

[](#installation)

```
composer require motor-cms/motor-media
```

Features
--------

[](#features)

- **File Management** -- Upload, download, and manage media files
- **File Associations** -- Polymorphic links between files and any model
- **Directory Support** -- Organize files in directories
- **Media Sync** -- Sync media from remote servers

Models
------

[](#models)

ModelDescription`File`Media file records (images, documents, etc.)`FileAssociation`Polymorphic file-to-model linksAPI Endpoints
-------------

[](#api-endpoints)

```
/api/files
/api/files/{id}

```

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

[](#package-structure)

```
src/
├── Console/       # Media management commands (sync)
├── Events/        # File operation events
├── Helpers/       # Helper functions
├── Http/          # Controllers, Requests, Resources
├── Models/        # File, FileAssociation
├── Policies/      # Authorization policies
├── Providers/     # Service providers
└── Services/      # FileService

```

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

[](#dependencies)

- `motor-cms/motor-core`
- `motor-cms/motor-admin`

Credits
-------

[](#credits)

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

###  Health Score

62

↑

FairBetter than 99% of packages

Maintenance98

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity100

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.4% 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 ~13 days

Recently: every ~0 days

Total

257

Last Release

8d ago

Major Versions

1.6.0 → 4.0.x-dev2025-07-14

3.19.0 → 4.8.02025-10-06

4.12.0 → 2025.50.0-alpha2025-12-08

4.14.0 → 2026.4.0-RC2025-12-10

2025.50.2-RC → 2026.4.1-RC2026-01-21

PHP version history (6 changes)1.1.0PHP ^7.4|^8.0

1.2.1PHP ^8.0.2

2.0.6PHP ^8.1

2.4.93PHP ^8.2

2.13.0PHP ^8.3

4.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/3229ac7a65b94c6d933eda207886e0e4bb0f08497be57e7d9cb7039b9a0e18f4?d=identicon)[motor-cms](/maintainers/motor-cms)

---

Top Contributors

[![dfox288](https://avatars.githubusercontent.com/u/879706?v=4)](https://github.com/dfox288 "dfox288 (134 commits)")[![lu-roth](https://avatars.githubusercontent.com/u/37230820?v=4)](https://github.com/lu-roth "lu-roth (16 commits)")[![flauschi-hakigo](https://avatars.githubusercontent.com/u/73136623?v=4)](https://github.com/flauschi-hakigo "flauschi-hakigo (4 commits)")[![kuntzloic](https://avatars.githubusercontent.com/u/54593969?v=4)](https://github.com/kuntzloic "kuntzloic (3 commits)")

---

Tags

motor

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

6123.3M21](/packages/ebess-advanced-nova-media-library)[ckfinder/ckfinder-laravel-package

CKFinder 3 package for Laravel

159497.2k48](/packages/ckfinder-ckfinder-laravel-package)[helgesverre/extractor

AI-Powered Data Extraction for your Laravel application.

22128.0k](/packages/helgesverre-extractor)[mediavorus/mediavorus

MediaVorus

2863.5k](/packages/mediavorus-mediavorus)[tapp/filament-form-builder

User facing form builder using Filament components

131.2k1](/packages/tapp-filament-form-builder)

PHPackages © 2026

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