gian_tiaga/moonshine-file

Spatie + Uppy file uploader for MoonShine

Installs: 364

Dependents: 0

Suggesters: 0

Security: 0

Stars: 12

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/gian_tiaga/moonshine-file

4.0.0 2025-12-23 16:43 UTC

This package is not auto-updated.

Last update: 2025-12-23 16:46:19 UTC


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

SpatieUppyFile::make('Фото', 'photo')
    ->multiple()
    ->countFiles(5)
    ->image()

Yo can set allowed file types

SpatieUppyFile::make('Фото', 'photo')
    ->allowedFileTypes('video/*')

demo

You can use this field in json