gian_tiaga/moonshine-file
最新稳定版本:4.0.0
Composer 安装命令:
composer require gian_tiaga/moonshine-file
包简介
Spatie + Uppy file uploader for MoonShine
关键字:
README 文档
README
Versions
- Verson 1.* for moonshine 2
- Verson 2.* for moonshine 3
- Verson 4.* for moonshine 4
Install
composer require gian_tiaga/moonshine-file
Usage
-
Install spatie laravel laravel-medialibrary https://spatie.be/docs/laravel-medialibrary
-
Make your models
-
In your resource add
SpatieUppyFile::make('Фото', 'photo') ->multiple() ->countFiles(5) ->image()
Yo can set allowed file types
SpatieUppyFile::make('Фото', 'photo') ->allowedFileTypes('video/*')
You can use this field in json
统计信息
- 总下载量: 364
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-09
