cipemotion/medialibrary
Larablocks Analysis
cipemotion/medialibrary works with Laravel 5 to 12 (latest release 2.1.2, Oct 30, 2025).
Recommendation checks
Use with careUse with care: meets 0 of 4 checks.
- Latest release doesn't support Laravel 13, the current version
- No release in the last 12 months (last: Oct 30, 2025)
- 380 downloads a month (needs 10,000)
- 5 GitHub stars (needs 100)
State
Quiet- Last stable release: Oct 30, 2025.
- No releases in the last 12 months.
- First released: Sep 30, 2015.
- Monthly downloads: 380, up 92% from six months ago.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require cipemotion/medialibrary |
|
| Latest Version: | 2.1.2 |
| PHP: | >=7.1 |
| Laravel: | 5 – 12 |
| License: | MIT |
| Last Updated: | Oct 30, 2025 |
| Links: | GitHub · Packagist |
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.
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 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
Publish the migrations file:
php artisan vendor:publish --provider="CipeMotion\Medialibrary\ServiceProvider" --tag="migrations"
Run the migrations:
php artisan migrate
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');
}
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 2.1.2 | >=7.1 | ^5.3| | MIT | |
| 2.1.1 | >=7.1 | ^5.3| | MIT | |
| 2.1.0 | >=7.1 | ^5.3| | MIT | |
| 2.0.3 | >=7.1 | ^5.3| | MIT | |
| 2.0.2 | >=7.1 | ^5.3| | MIT | |
| v2.0.1 | >=7.1 | ^5.3| | MIT | |
| v2.0.0 | >=7.1 | ^5.3| | MIT | |
| v1.21.0 | >=7.1 | ^5.3| | MIT | |
| v1.20.0 | >=7.1 | ^5.3| | MIT | |
| v1.19.1 | >=7.1 | ^5.3| | MIT | |
| v1.19.0 | >=7.1 | ^5.3| | MIT | |
| v1.18.0 | >=7.1 | ^5.3| | MIT | |
| v1.17.0 | >=7.1 | ^5.3| | MIT | |
| v1.16.0 | >=7.1 | ^5.3 | MIT | |
| v1.15.3 | >=7.1 | ^5.3 | MIT | |
| v1.15.2 | >=7.1 | 5.3.*| | MIT | |
| v1.15.1 | >=7.1 | 5.3.*| | MIT | |
| v1.15.0 | >=7.1 | 5.3.*| | MIT | |
| v1.14.0 | >=7.1 | 5.3.*| | MIT | |
| v1.13.0 | >=7.1 | 5.3.*| | MIT | |
| v1.12.1 | >=7.1 | 5.3.*| | MIT | |
| v1.12.0 | >=7.1 | 5.3.*| | MIT | |
| v1.11.0 | >=7.1 | 5.3.*| | MIT | |
| v1.10.2 | >=7.1 | 5.3.*| | MIT | |
| v1.10.1 | >=7.1 | 5.3.*| | MIT | |
| v1.10.0 | >=7.1 | 5.3.*| | MIT | |
| v1.9.2 | >=7.1 | 5.3.*| | MIT | |
| v1.9.1 | >=7.1 | 5.3.*| | MIT | |
| v1.9.0 | >=7.1 | 5.3.*| | MIT | |
| v1.8.0 | ^5.3| | MIT |
Showing the latest 30 of 93. See every release on Packagist