gian_tiaga/moonshine-file
Spatie + Uppy file uploader for MoonShine
567
14
| Install | |
|---|---|
composer require gian_tiaga/moonshine-file |
|
| Latest Version: | 4.0.0 |
| PHP: | ^8.2 |
| License: | MIT |
| Last Updated: | Dec 23, 2025 |
| Links: | GitHub · Packagist |
Maintainer: gian_tiaga
Spatie Media + Uppy for upload files and images for Moonshine admin panel
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
Related Packages
spatie/elasticsearch-search-string-parser
Build Elasticsearch queries based of a query string
24,421
51
ahmed-abdelrhman/filament-media-gallery
A Filament infolist entry that renders Spatie Media Library collections with ima...
3,096
17
tomatophp/filament-media-manager
Manage your media files using spatie media library with easy to use GUI for Fila...
65,990
148
juniyasyos/filament-media-manager
Manage your media files using spatie media library with easy to use GUI for Fila...
1,885
0
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 4.0.0 | ^8.2 | MIT | |
| 2.0.1 | ^8.2 | MIT | |
| 2.0.0 | ^8.2 | MIT | |
| 1.1.1 | ^8.2 | MIT | |
| 1.1.0 | ^8.2 | MIT | |
| 1.0.0 | ^8.2 | MIT |