This is the documentation for
v9 but the latest version is
v11
.
You can switch versions in the menu on the left/at the top.
Check your current version with the following command:
composer show spatie/laravel-medialibrary
Laravel Media Library requires PHP 7.4+ and Laravel 7+.
This package uses json
columns. MySQL 5.7 or higher is required.
The exif extension is required (on most systems it will be installed by default).
To create derived images GD needs to be installed on your server.
If you want to create PDF or SVG thumbnails Imagick and Ghostscript are also required.
For the creation of thumbnails of video files ffmpeg
should be installed on your system.
If you're running into problems with Ghostscript and/or PDF to image generation have a look at issues regarding Ghostscript.
##Older versions
If you do not meet the requirements, you can opt to use an older version of the package.
We only actively maintain the latest version of the media library.