I just released: laravel-model-media π
I just released laravel-model-media, a lightweight Laravel package that makes it easy to attach media (images, videos, files) to any Eloquent model β without forcing you into a heavy media library.
π Repository:
github link
Why I built it
In many projects I only needed basic media support:
- attach one or more files to a model
- keep things clean and explicit
- avoid complex abstractions when theyβre not needed
Most existing solutions are powerful, but sometimes overkill.
So I built a small, focused package that does one thing well.
What it does
With laravel-model-media you can:
- attach media to any Eloquent model
- support images, videos, and generic files
- store media data directly on the model columns
- avoid polymorphic tables and extra joins
- keep the implementation simple and explicit
- stay framework-native and lightweight
No magic, no heavy configuration.
Top comments (0)