n-schouten/filament-image-manager
最新稳定版本:1.0.0
Composer 安装命令:
composer require n-schouten/filament-image-manager
包简介
README 文档
README
A simple yet powerful image manager for Laravel Filament
Features
- Field for Filament to select or upload an image
- Working with different disks/directories
- Filament Resource for overview of all images
- Performing conversions with
Spatie/Image - Soft Deletes of Images, cleaning up the database record and belonging files after a set amount of days.
Installation
You can install this package using Composer. Ensure that Laravel and Filament are already set up in your main project before proceeding. This package will also install the Spatie/Image-package.
composer require n-schouten/filament-image-manager
After installing, you need to publish the migrations and migrate by running the following commands:
php artisan vendor:publish --tag=image-manager-migrations php artisan migrate
In case you are using the public disk, make sure a symbolic link has been made from source directory storage/app/public to target directory public/storage. You can do this by running te following command:
php artisan storage:link
You can publish the configuration file, although it is not required. To do so, run the following command: php artisan vendor:publish --tag=image-manager-config
Installation as Filament Plugin
After this, install the package as a plugin in your Filament Panel Service Provider panel() function
use NSchouten\FilamentImageManager\ImageManagerPlugin; $panel->plugin(new ImageManagerPlugin())
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-02-20