Download the PHP package themightysapien/medialibrary without Composer
On this page you can find all versions of the php package themightysapien/medialibrary. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download themightysapien/medialibrary
More information about themightysapien/medialibrary
Files in themightysapien/medialibrary
Package medialibrary
Short Description Media Library on top of spatie media package. Helps to resuse uploaded media.
License MIT
Homepage https://github.com/themightysapien/medialibrary
Informations about the package medialibrary
Reusable Library for Spatie Media Library
This packages adds a reusable library functionality on top of Spatie Media Library package.
Features
- Add media to library
- Use media from library
- Add media through library
- Clear library
Installation
You can install the package via composer:
Prepare Your Model
Just add trait on top of spatie's model setup.
Usage
Add Media to library
Associate file for model through library.
This will first add the file to library and then associate media to the model.
Associate library media for model.
Clear Library
Get library media collection
Get library media collection through api
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Anup Pokharel
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of medialibrary with dependencies
illuminate/support Version ^9.0|^10.0
spatie/laravel-medialibrary Version ^9.18|^10.0