Download the PHP package moox/media without Composer
On this page you can find all versions of the php package moox/media. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor moox
Package media
Short Description This is my package media
License MIT
Homepage https://moox.org/
Package media
Short Description This is my package media
License MIT
Homepage https://moox.org/
Please rate this library. Is it a good library?
Informations about the package media
Moox Media Package
A comprehensive media management package for FilamentPHP with translation support.
Installation
Install the package using the Moox installer:
This will:
- Publish migrations and configuration files
- Publish Spatie Media Library configuration
- Integrate the custom Media model and PathGenerator
Features
- Media Management: Upload, organize, and manage media files with Spatie Media Library integration
- Translations: Full translation support for media metadata
- MediaPicker Component: Filament form component for selecting and attaching media to models
- Media Collections: Organize media into collections with translation support
Usage
Setup Model for Media
To use media in your model, you need to:
- Use the
HasMediaUsabletrait - Implement
HasMediainterface - Use
InteractsWithMediatrait from Spatie Media Library - Add a JSON field for storing media metadata (e.g.,
image) - Optionally add a relation method to access media through usables
Example:
Use MediaPicker in Filament Forms
Access Media Metadata
When media is attached via MediaPicker, the JSON field contains:
Editing Media Metadata
When editing media in the admin panel, fields like title, alt, description, and internal_note are automatically saved as soon as you leave the field (blur event). No save button is required - changes are persisted immediately and synchronized to all models using that media.
Requirements
- Laravel 12+
- Filament 4+
- Spatie Media Library
- Astrotomic Translatable
All versions of media with dependencies
PHP Build Version
Package Version
Requires
moox/core Version
5.0.12
filament/spatie-laravel-media-library-plugin Version ^5.0
moox/localization Version 5.0.12
moox/data Version 5.0.12
moox/file-icons Version 5.0.12
filament/spatie-laravel-media-library-plugin Version ^5.0
moox/localization Version 5.0.12
moox/data Version 5.0.12
moox/file-icons Version 5.0.12
The package moox/media contains the following files
Loading the files please wait ...