Download the PHP package misaf/vendra-multimedia without Composer
On this page you can find all versions of the php package misaf/vendra-multimedia. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download misaf/vendra-multimedia
More information about misaf/vendra-multimedia
Files in misaf/vendra-multimedia
Package vendra-multimedia
Short Description Media library integration and Filament media management for Vendra
License MIT
Homepage https://github.com/misaf/vendra-multimedia
Informations about the package vendra-multimedia
Vendra Multimedia
Tenant-aware media management for Vendra applications.
Features
- Tenant-scoped Spatie Media Library model
- Tenant-grouped media storage paths (
{tenant}/{uuid}/) - Default WebP media conversions helper
- A per-store storage cap from the reseller's plan (
storage_megabytes_per_store), checked on upload and on write ModelImageUpload,ModelImageEntry, andModelImageColumnFilament components for model image collections- Filament resource and optional widget on the
adminpanel - Translation and migration publishing support
Requirements
- PHP 8.4+
- Laravel 13
- Filament 5
- Livewire 4
- Pest 4
misaf/vendra-supportspatie/laravel-medialibrary
Installation
Set the media model and path generator in config/media-library.php:
Optional translations publish:
Usage
Use Spatie Media Library as usual:
Models can reuse the default conversions:
In Filament, media records are available on the admin panel.
Storage layout
Media is stored under {prefix}/{tenant}/{uuid}/, with conversions and responsive images in conversions/ and responsive-images/ below it. The tenant comes from the media row rather than the current tenant, so paths resolve the same way in the console panel, the CLI, and queued jobs. Media without a tenant keeps the {prefix}/{uuid}/ layout.
Move media stored before the tenant prefix into its tenant directory:
Testing
Run the package checks from the project root:
License
MIT. See LICENSE.
All versions of vendra-multimedia with dependencies
awcodes/filament-badgeable-column Version ^4.0
filament/spatie-laravel-media-library-plugin Version ^5.6.8
misaf/filament-jalali Version ^5.1.4
misaf/vendra-support Version self.version
spatie/laravel-medialibrary Version ^11.23.2
spatie/laravel-package-tools Version ^1.93.1