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 Laravel Package

noerd/media

A Laravel media management package for uploading, storing, and associating files with Eloquent models. It offers media collections, image conversions, and a fluent API for attaching, retrieving, and organizing media.

View on GitHub
Deep Wiki
Context7

noerd/media is a lightweight media management package for Laravel applications, offering a consistent way to attach files to Eloquent models and keep storage, metadata, and retrieval logic in one place. It follows Laravel's filesystem and Eloquent conventions, so uploading, storing, and serving media stays simple as your application grows.

  • Attach media to any Eloquent model through a reusable relationship
  • Configurable disk and path handling via Laravel's filesystem
  • Store and retrieve file metadata alongside each upload
  • Framework-idiomatic API that stays out of your way
  • Straightforward setup through configuration and migrations
Frequently asked questions about Media
How do I install noerd/media in a Laravel application?
Install the package with Composer using composer require noerd/media, then follow the repository README for any service provider, configuration, or migration steps. Because it is a Laravel package, make sure your app's Laravel and PHP versions match the Composer constraints before installing.
What does noerd/media actually do for Laravel file uploads?
noerd/media is a Laravel package for managing media files and uploads. It provides helpers to store, retrieve, and organize assets and to associate media with Eloquent models, which helps reduce boilerplate in common file-handling tasks.
Can I associate uploaded media with Eloquent models using noerd/media?
Yes, the package overview explicitly says it can associate media with Eloquent models. The exact relationship names, method signatures, and expected model setup should be confirmed in the repository README before you implement it.
How do I store and retrieve media files with noerd/media?
The package is described as providing helpers to store and retrieve media assets in Laravel. Use the documented helper methods and your configured storage disk rather than hard-coding file paths, and check the README for exact method signatures and return types.
Does noerd/media support organizing media into folders or collections?
The package overview says it helps organize assets, but it does not specify whether that means folders, collections, tags, or another structure. Review the README and available model fields before designing your media organization around a particular feature.
Which Laravel versions does noerd/media support?
The provided context does not state supported Laravel versions. Check the package composer.json and README for Laravel and PHP version constraints, then confirm they match your application before adding it to production.
Do I need to publish configuration or run migrations for noerd/media?
The provided context does not confirm whether configuration publishing or migrations are required. Treat the repository README and Composer metadata as authoritative; if the package ships config files or database migrations, follow those steps before first use.
How should I test media uploads when using noerd/media in Laravel?
Use Laravel's fake storage disks and UploadedFile fakes so tests do not touch real files, then assert that media records and model associations are created as expected. Since the provided context does not list package-specific testing helpers, rely on standard Laravel testing utilities and the README.
Is noerd/media suitable for production Laravel file handling?
It can simplify common media storage and Eloquent association tasks, but production suitability depends on your storage disk, validation rules, access control, backups, and the package's maintenance status. Review the README, release history, and issue tracker before relying on it for critical uploads.
What alternatives to noerd/media should I consider for Laravel media management?
Developers often compare Laravel media packages such as Spatie Laravel Media Library, image-processing tools like Intervention Image, or custom Flysystem-based upload handling. noerd/media may be a lighter option focused on storing, retrieving, organizing, and associating media with Eloquent models, so evaluate feature fit and maintenance before choosing.
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo