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.26.5(1mo ago)27771MITPHPPHP ^8.4CI passing

Since Mar 12Pushed 2mo ago1 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 4w ago

READMEChangelogDependencies (22)Versions (347)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

59

—

FairBetter than 98% of packages

Maintenance88

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 86.6% 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 ~10 days

Recently: every ~0 days

Total

339

Last Release

51d ago

Major Versions

1.6.0 → 4.0.x-dev2025-07-14

3.19.0 → 4.7.32025-10-30

4.12.0 → 2025.50.0-alpha2025-12-08

4.14.0 → 2025.50.2-RC2025-12-10

2025.50.2-RC → 2026.2.02025-12-10

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

1.2.0PHP ^8.0.2

2.0.1PHP ^8.1

2.4.20PHP ^8.2

2.13.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 (149 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

[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

4.0k27.9k](/packages/azuracast-azuracast)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1826.5M236](/packages/filament-spatie-laravel-media-library-plugin)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[tapp/filament-form-builder

User facing form builder using Filament components

133.5k6](/packages/tapp-filament-form-builder)

PHPackages © 2026

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