jurager/media

File and media management for Laravel with S3, image conversions, and polymorphic model attachment

Maintainers

Package info

github.com/Jurager/media

pkg:composer/jurager/media

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-05-18 06:50 UTC

This package is auto-updated.

Last update: 2026-05-18 06:51:05 UTC


README

Latest Stable Version Total Downloads PHP Version Require License

Polymorphic file and media management for Laravel. Attach images, PDFs, and any other files to any Eloquent model with S3 storage, automatic image conversions (thumbnails, WebP), EXIF stripping, and per-collection constraints.

  • Works with any Laravel disk — local, S3, or custom
  • Automatic image resizing and format conversion via Intervention Image
  • Async conversion queue with sync fallback
  • Download files from remote URLs or base64 strings
  • MD5 deduplication for idempotent imports
  • CDN and presigned URL support

Requirements

PHP >= 8.4 and Laravel 11.x or higher

Installation

To install, configure and learn how to use the package, see the Documentation.

License

Open source, licensed under the MIT license.