gian_tiaga/moonshine-file

Spatie + Uppy file uploader for MoonShine

Maintainers

Package info

github.com/falur/moonshine-file

pkg:composer/gian_tiaga/moonshine-file

Statistics

Installs: 372

Dependents: 0

Suggesters: 0

Stars: 14

Open Issues: 0

4.0.0 2025-12-23 16:43 UTC

This package is not auto-updated.

Last update: 2026-03-17 17:59:39 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