PHPackages                             cipemotion/medialibrary - 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. cipemotion/medialibrary

ActiveLibrary

cipemotion/medialibrary
=======================

A Laravel media library.

2.1.2(6mo ago)528.4k↓50%2[1 issues](https://github.com/JorisvanW/medialibrary/issues)MITPHPPHP &gt;=7.1CI failing

Since Sep 30Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/JorisvanW/medialibrary)[ Packagist](https://packagist.org/packages/cipemotion/medialibrary)[ RSS](/packages/cipemotion-medialibrary/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (5)Dependencies (7)Versions (95)Used By (0)

CipeMotion Media Library
------------------------

[](#cipemotion-media-library)

A media library package making it easy to implement your own WordPress style media picker component.

This package depends on [`intervention/image`](https://github.com/Intervention/image).

### Configuration

[](#configuration)

Add the service providers to your providers array in `app.php`.

```
CipeMotion\Medialibrary\ServiceProvider::class,
Intervention\Image\ImageServiceProvider::class

```

Optional: Add the [`intervention/image`](https://github.com/Intervention/image) Facade to the aliases array in `app.php`.

```
'Image' => Intervention\Image\Facades\Image::class,

```

Publish the config file:

```
php artisan vendor:publish --provider="CipeMotion\Medialibrary\ServiceProvider" --tag="config"

```

Read through the config file and change what is needed.

### Database

[](#database)

Publish the migrations file:

```
php artisan vendor:publish --provider="CipeMotion\Medialibrary\ServiceProvider" --tag="migrations"

```

Run the migrations:

```
php artisan migrate

```

### Relations

[](#relations)

On your owner model add:

```
public function files()
{
    return $this->hasMany(\CipeMotion\Medialibrary\Entities\File::class, 'owner_id');
}

```

On your models add:

```
public function attachebles()
{
    return $this->morphToMany(\CipeMotion\Medialibrary\Entities\File::class, 'attachable', 'medialibrary_attachable');
}

```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance62

Regular maintenance activity

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 76.8% 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 ~40 days

Recently: every ~338 days

Total

93

Last Release

200d ago

Major Versions

v0.2.0 → v1.0.02015-10-23

v1.21.0 → v2.0.02021-09-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1090754?v=4)[Alex Bouma](/maintainers/stayallive)[@stayallive](https://github.com/stayallive)

![](https://avatars.githubusercontent.com/u/11089853?v=4)[Joris van Willigen](/maintainers/JorisvanW)[@JorisvanW](https://github.com/JorisvanW)

---

Top Contributors

[![stayallive](https://avatars.githubusercontent.com/u/1090754?v=4)](https://github.com/stayallive "stayallive (262 commits)")[![JorisvanW](https://avatars.githubusercontent.com/u/11089853?v=4)](https://github.com/JorisvanW "JorisvanW (69 commits)")[![Tosfera](https://avatars.githubusercontent.com/u/104002024?v=4)](https://github.com/Tosfera "Tosfera (10 commits)")

---

Tags

laravel-packagemedia-library

### Embed Badge

![Health badge](/badges/cipemotion-medialibrary/health.svg)

```
[![Health](https://phpackages.com/badges/cipemotion-medialibrary/health.svg)](https://phpackages.com/packages/cipemotion-medialibrary)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[eveseat/web

SeAT Web Interface

2723.2k135](/packages/eveseat-web)

PHPackages © 2026

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