packagist spatie/laravel-medialibrary 11.17.10

14 hours ago

What's Changed

This new method is similar to getAvailablePath() but calls getPathRelativeToRoot() instead of getPath(). This is useful when working with both local and cloud filesystem drivers, as getPath() returns an absolute path that cannot be passed to Storage::get().

Example usage:

Storage::disk($media->disk)->get(
    $media->getAvailablePathRelativeToRoot(['conversion'])
)

Full Changelog: 11.17.9...11.17.10

Don't miss a new laravel-medialibrary release

NewReleases is sending notifications on new releases.