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
Advanced Nova Media Library

Advanced Nova Media Library Laravel Package

abdukhaligov/advanced-nova-media-library

Advanced Nova Media Library extends Laravel Nova with a full-featured media field for uploading, cropping, and managing images and files. It supports single or multiple uploads, drag-and-drop ordering, thumbnail previews, custom validation, and configurable storage disks.

View on GitHub
Deep Wiki
Context7

A Laravel Nova field for displaying, creating, updating and ordering a Spatie Media Library model.

Frequently asked questions about Advanced Nova Media Library
What is abdukhaligov/advanced-nova-media-library used for?
It is a Laravel Nova field for displaying, creating, updating, and ordering models that use Spatie Media Library. It adds upload, crop, preview, validation, and disk configuration features directly inside Nova. It is useful when you want media management in Nova without building a custom field UI.
How do I install advanced-nova-media-library?
Install it with Composer using composer require abdukhaligov/advanced-nova-media-library. You need a Laravel application with Laravel Nova installed and a model that uses spatie/laravel-medialibrary. After installation, add the field to the relevant Nova resource and follow the package README for any publish or configuration steps.
Does advanced-nova-media-library require Spatie Media Library?
Yes. The package is built as a Nova field for a Spatie Media Library model, so the target Eloquent model should implement Spatie's media interfaces and traits. Uploads and ordering are managed through the media library relationships. Without spatie/laravel-medialibrary, the field has no media model to manage.
How do I add advanced-nova-media-library to a Nova resource?
Add the Advanced Nova Media Library field to your Nova resource's fields method and point it at the media collection you want to manage. Configure options such as single or multiple uploads, storage disk, cropping, and validation according to your resource needs. The exact field class and available options are documented in the package README.
Can I upload multiple images and reorder them?
Yes. The field supports single and multiple uploads plus drag-and-drop ordering for media collections. Ordering is useful for galleries, carousels, and other resources where image sequence matters. You configure the multiple-upload behavior on the field.
Does advanced-nova-media-library support image cropping?
Yes. The package includes cropping support so editors can adjust images from within Laravel Nova. Cropping behavior and dimensions are configured through the field options. Check the README for available crop settings and any related conversion requirements.
How do I configure the storage disk for uploads?
The field supports configurable storage disks, so you can choose where Spatie Media Library stores uploaded files. Set the disk option on the field or in your media library configuration depending on your setup. Use a disk that is properly linked and accessible for previews in Nova.
How do I validate uploaded files in advanced-nova-media-library?
The package supports custom validation for uploads, letting you restrict file types, sizes, and other rules. Apply validation through the field configuration or your application's media rules as documented. This helps prevent unsupported files from being stored through Nova.
Is advanced-nova-media-library compatible with Laravel 11 and Nova 5?
Compatibility depends on the package version and its Composer constraints, so check the README and Packagist metadata for supported Laravel and Nova versions. Laravel Nova is a paid package and must be installed separately. Review GitHub releases and recent commits before adopting it, and pin a known compatible version for production.
What should I check if media uploads fail in production?
Verify the configured storage disk, filesystem permissions, and any CDN or URL settings used for previews. Also check PHP upload limits, Nova authentication, and Spatie Media Library configuration. Running the required media library migrations and clearing caches can resolve common issues.
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.
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
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections