PHPackages                             jurager/media - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. jurager/media

ActiveLibrary[File &amp; Storage](/categories/file-storage)

jurager/media
=============

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

026↓50%1PHP

Since May 21Pushed 4d agoCompare

[ Source](https://github.com/Jurager/media)[ Packagist](https://packagist.org/packages/jurager/media)[ RSS](/packages/jurager-media/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

jurager/media
=============

[](#juragermedia)

[![Latest Stable Version](https://camo.githubusercontent.com/d77db520f79a48f6b8e9cdf9d3595fc051ce9a36b6738e8acac1474ac4c73990/68747470733a2f2f706f7365722e707567782e6f72672f6a7572616765722f6d656469612f762f737461626c65)](https://packagist.org/packages/jurager/media)[![Total Downloads](https://camo.githubusercontent.com/a492578d0dd61004b10d504ec4b607ecd502144781d19abf91eb5d0257ffc41b/68747470733a2f2f706f7365722e707567782e6f72672f6a7572616765722f6d656469612f646f776e6c6f616473)](https://packagist.org/packages/jurager/media)[![PHP Version Require](https://camo.githubusercontent.com/e2ef575f20dae24278b8bd2ad33478fbaf9d068adb628a81b938a2f926e58ccb/68747470733a2f2f706f7365722e707567782e6f72672f6a7572616765722f6d656469612f726571756972652f706870)](https://packagist.org/packages/jurager/media)[![License](https://camo.githubusercontent.com/7bfabf34988414aaa208c7bfb3420a921a7acdf2d45622b8298518ca47f83626/68747470733a2f2f706f7365722e707567782e6f72672f6a7572616765722f6d656469612f6c6963656e7365)](https://packagist.org/packages/jurager/media)

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](https://image.intervention.io/)
- 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
------------

[](#requirements)

`PHP >= 8.4` and `Laravel 11.x or higher`

Installation
------------

[](#installation)

To install, configure and learn how to use the package, see the [Documentation](docs/_index.md).

License
-------

[](#license)

Open source, licensed under the [MIT license](LICENSE).

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance65

Regular maintenance activity

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/954178?v=4)[Yuri Gerasimov](/maintainers/Jurager)[@Jurager](https://github.com/Jurager)

---

Top Contributors

[![Jurager](https://avatars.githubusercontent.com/u/954178?v=4)](https://github.com/Jurager "Jurager (19 commits)")

### Embed Badge

![Health badge](/badges/jurager-media/health.svg)

```
[![Health](https://phpackages.com/badges/jurager-media/health.svg)](https://phpackages.com/packages/jurager-media)
```

###  Alternatives

[glicer/sync-sftp

Sync local files with ftp server

212.7k](/packages/glicer-sync-sftp)[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.7k](/packages/venveo-craft-compress)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
