PHPackages                             gian\_tiaga/moonshine-file - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. gian\_tiaga/moonshine-file

ActiveLibrary[Image &amp; Media](/categories/media)

gian\_tiaga/moonshine-file
==========================

Spatie + Uppy file uploader for MoonShine

4.0.0(4mo ago)14410MITPHPPHP ^8.2

Since Jun 9Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/falur/moonshine-file)[ Packagist](https://packagist.org/packages/gian_tiaga/moonshine-file)[ RSS](/packages/gian-tiaga-moonshine-file/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

Spatie Media + Uppy for upload files and images for Moonshine admin panel
=========================================================================

[](#spatie-media--uppy-for-upload-files-and-images-for-moonshine-admin-panel)

Versions
--------

[](#versions)

- Verson 1.\* for moonshine 2
- Verson 2.\* for moonshine 3
- Verson 4.\* for moonshine 4

Install
-------

[](#install)

```
composer require gian_tiaga/moonshine-file
```

Usage
-----

[](#usage)

- Install spatie laravel laravel-medialibrary [https://spatie.be/docs/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/*')
```

[![demo](images/1.jpg)](images/1.jpg)

You can use this field in json

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance74

Regular maintenance activity

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~112 days

Recently: every ~140 days

Total

6

Last Release

140d ago

Major Versions

1.1.1 → 2.0.02024-09-26

2.0.1 → 4.0.02025-12-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3be6c38f0f401fd4e4d16b53cd198d5ae982d44ddf6e880c174e2f553692a58?d=identicon)[gian\_tiaga](/maintainers/gian_tiaga)

---

Top Contributors

[![falur](https://avatars.githubusercontent.com/u/6442411?v=4)](https://github.com/falur "falur (7 commits)")

---

Tags

spatiemediauppymoonshine

### Embed Badge

![Health badge](/badges/gian-tiaga-moonshine-file/health.svg)

```
[![Health](https://phpackages.com/badges/gian-tiaga-moonshine-file/health.svg)](https://phpackages.com/packages/gian-tiaga-moonshine-file)
```

###  Alternatives

[tomatophp/filament-media-manager

Manage your media files using spatie media library with easy to use GUI for FilamentPHP

14543.9k3](/packages/tomatophp-filament-media-manager)[yurizoom/moonshine-media-manager

Media manager for MoonShine

101.1k](/packages/yurizoom-moonshine-media-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
