Download the PHP package mlsolutions/nova-media-field without Composer
On this page you can find all versions of the php package mlsolutions/nova-media-field. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mlsolutions/nova-media-field
More information about mlsolutions/nova-media-field
Files in mlsolutions/nova-media-field
Package nova-media-field
Short Description A Laravel Nova field for laravel-medilibrary.
License MIT
Homepage https://github.com/ml-solutions-ltda/nova-media-field
Informations about the package nova-media-field
Nova Media Field
Description
Laravel Nova media fields and host-authorized thumbnail previews.
Features
- Multiple / Single image support
- Multiple images auto-detect based on collection
- Display validation errors
- Show on index multiple images
- Modal with media details
- Show all conversions
- Open / Download / Copy URL of media
- Regenerate image with conversions
- Custom properties support
Requirements
php: >=8.2laravel/nova: ^4.22 or ^5.0spatie/laravel-medialibrary: ^11.4only when using theMediafield
The File Manager integration is optional. Install and register a File Manager release that supports the Laravel Nova version used by your application.
Installation
Usage
Display a host-authorized thumbnail
Use Thumbnail for a read-only index preview when the host application owns the media model, storage, and authorization. The field renders only the URL passed to it; the host application must generate a reduced derivative and protect its route with the same authorization and tenant checks used for the media record.
The component never derives a URL from a storage path and never fetches the original file. A failed or missing preview URL displays the configured fallback. The Thumbnail field does not require spatie/laravel-medialibrary.
Usage with File Manager
Optionally install a Nova-compatible File Manager
Register Service provider
Use Media field with File Manager
Screenshots
Credits
Contributing
Thank you for considering contributing to this package! Please create a pull request with your contributions with detailed explanation of the changes you are proposing.
License
This package is open-sourced software licensed under the MIT license.
All versions of nova-media-field with dependencies
laravel/nova Version ^4.22 || ^5.0
spatie/laravel-medialibrary Version ^11.4
stepanenko3/nova-filemanager Version ^7.1.1