Download the PHP package webplusm/gallery-json-media without Composer
On this page you can find all versions of the php package webplusm/gallery-json-media. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package gallery-json-media
A Gallery media (Json) for Filament
This package add a json field media for images/documents to filament V3.x and fluents api for front-end in Laravel to display photos and url link for documents ...
It is a simple and easy way to manage media in your Laravel application using Filament.
V3x doc => Filament V3.x
Features
- Fluent API: A fluent API for managing media in your Laravel application.
- Blade Components: Blade components for displaying media in your Laravel application.
- Custom Properties: Custom properties for media, allowing you to add additional informations to your media.
Requirements
V4.x => Filament V4.x (^PHP 8.2 need)
Installation
You can install the package via composer:
Configuration
Publish the config file with:
You can change the driver for cropping :
Translations
You can publish the translations :
CSS configuration
- You need to create a theme for your panel if you don't have one already,
- and then add the following to your
theme.css
file:
Optionally, you can publish the views using, but please if you don't know what it is, don't do it.
Discord
Find it on discord
Usage
Prepare your model
In Filament Forms
In Filament Tables
In Filament Infolists
In Blade Front-end
You can also control the entire view to render the media by passing a blade file to your view like this :
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of gallery-json-media with dependencies
filament/filament Version ^4.0
illuminate/contracts Version ^10.0|^11.0|^12.0
spatie/image Version ^2.2|^3.0
spatie/laravel-package-tools Version ^1.15.0