Laravel Media Library Package
Last updated on by Eric L. Barnes
This Laravel 5.1 package provides an easy way to associate all sorts of files with Eloquent models. Storage of the files is handled by Laravel’s Filesystem, so you can easily use something like S3. Additionally the package can create image manipulations on images and pdfs that have been added in the media library.
Some additional features of this package include:
- Internally Glide is used to manipulate images.
- Files can be stored on any file system that Flysystem allows. So you could for instance store everything on S3.
- Thumbnails can be generated for pdf files
- Registering conversions has been made more intuitive
- It’s now very easy to add custom logic to generate urls
- Images can be manipulated per media object
For more information check out the official repo and the companion blog post announcement.
Eric is the creator of Laravel News and has been covering Laravel since 2012.