Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Media Module

Media Module Laravel Package

idavoll/media-module

A Laravel media module for handling uploads and file storage. It lets you organize media, attach files to Eloquent models, and serve images through configurable disks and conversions, giving your app a reusable media management layer.

View on GitHub
Deep Wiki
Context7

[READ ONLY] see AsgardCMS/Platform

Frequently asked questions about Media Module
What is idavoll/media-module?
It is a Laravel media module in the AsgardCMS sense, not a general-purpose package. It provides Eloquent models for media and folders, repositories, controllers, routes, migrations, config, views, and language files for organizing uploads and attaching files to models. It registers through an AsgardCMS module service provider and expects the host application to supply the module loader, core providers, settings, translations, and admin UI shell.
Does idavoll/media-module support Laravel 10 and Laravel 11?
There is no public evidence of it working on modern Laravel. It is architecturally tied to the AsgardCMS and Laravel 5 era and likely pins older laravel/framework and PHP constraints. Treat it as reference code, not a drop-in dependency, for Laravel 10 or 11. A port would require replacing module-loader assumptions and updating removed framework APIs.
How do I install idavoll/media-module?
The realistic path is composer require inside an already-compatible AsgardCMS installation. Before installing, verify the php and laravel/framework constraints match your runtime and that every asgardcms dependency or module-loader dependency is still resolvable from Packagist. Then confirm migrations, config publishing, and asset build steps complete. In a vanilla Laravel app, installation is not a supported one-step process.
What license does idavoll/media-module use?
The scanner reports NOASSERTION, meaning the declared terms could not be mapped to a standard SPDX license. You must have a human read the LICENSE file and composer.json before shipping it in a commercial or redistributed product. Until redistribution and derivative-work rights are confirmed, treat the license as a veto risk. Do not assume MIT or any other common license.
Can I use idavoll/media-module without AsgardCMS?
Not cleanly. It is a vertical slice built for the AsgardCMS module contract and expects a host app with the module loader, core service providers, settings and translation infrastructure, and an admin UI shell. In conventional Laravel it is a source of reference code rather than a package you can install and use. Grafting it onto vanilla Laravel would mean reproducing that contract or extracting the domain logic manually.
How does idavoll/media-module handle file storage and image conversions?
The overview describes configurable disks and conversions, so media files are served through configured storage disks with image conversions. The implementation is part of the module config and storage abstraction, but you should audit exactly where files land and how conversions run. Determine whether image processing is queued or inline before exposing it to production traffic. Disk isolation and path handling are key review points.
Is idavoll/media-module maintained and production ready?
Adoption signals are very weak: one star, zero dependents, and no public evidence of a working install outside the author's usage. There is no community regression signal and likely no patch path for Laravel or PHP upgrades or CVEs. Verify the last commit date, open issues, and whether the author responds to pull requests. For most teams, that means do not adopt it as a runtime dependency.
Is idavoll/media-module safe for user uploads?
A media library is an untrusted-file ingestion point, and an unmaintained module is unlikely to have kept pace with current guidance. You must audit MIME validation, extension handling, SVG sanitization, path traversal protection, and disk isolation line by line before exposing it to end users. Also confirm how uploads are validated and where files are stored. Do not expose it publicly without that review.
Does idavoll/media-module have tests?
The assessment says to verify whether tests exist and pass at all; with one star there is no community regression signal. Do not assume coverage. Run the suite in a disposable AsgardCMS-compatible environment before relying on it. If tests are missing or fail, treat the module as unsupported code.
What are alternatives to idavoll/media-module?
The evaluation does not benchmark specific alternatives, but for modern Laravel you should choose a maintained media package with a clear SPDX license and current framework support, or build a small internal media layer. If you are already on AsgardCMS, fork and vendor this module only if you control the codebase. Extracting its models, migrations, and storage abstraction is another option.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core