PHPackages                             lakely/laravel-admin-upload - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. lakely/laravel-admin-upload

ActiveLibrary[File &amp; Storage](/categories/file-storage)

lakely/laravel-admin-upload
===========================

laravel admin upload file direct

1.0.3(6y ago)021MITJavaScriptPHP &gt;=7.0.0CI failing

Since Oct 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lakely/laravel-admin-upload)[ Packagist](https://packagist.org/packages/lakely/laravel-admin-upload)[ Docs](https://github.com/lakely/laravel-admin-upload)[ RSS](/packages/lakely-laravel-admin-upload/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

\#laravel-admin-fileUpdate extension
====================================

[](#laravel-admin-fileupdate-extension)

\####Intro Web direct upload, and can combine with upload manager system(if you application has).

\####Install

```
composer require lakely/laravel-admin-upload
php artisan vendor:publish --tag=laravel-admin-upload

```

```
//添加上传路由与方法，自己去实现
$router->post('/file-upload', 'FileUploadController@fileUpload');

```

\####Usage

```
$form->singleImage('logo', 'LOGO');

$form->multiImage('gallery', 'Gallery');

```

\####Database tables and model

> `singleImage` saved as `string` and `multiImage` saved as `JSON` type, so firstly,you need to define the `casts` property secondly,if you DB field type is `varchar`, you need to define a `mutator`

\######1.casts property

```
protected $casts = [
    'gallery' => 'array',
];

```

\######2.Defining a mutator: setXXXXAttribute()

> if you database field is `Varchar`, you need the following. if `JSON`, do nothing

```
    public function setGalleryAttribute($value)
    {
        $this->attributes['gallery'] = json_encode($value);
    }

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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 ~30 days

Total

3

Last Release

2334d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/264bb93a14828c37fce2bbee34344457312f1ee7fe525fd6162dcbc5145c1f6b?d=identicon)[lakely](/maintainers/lakely)

---

Top Contributors

[![lakely](https://avatars.githubusercontent.com/u/26688125?v=4)](https://github.com/lakely "lakely (5 commits)")

---

Tags

extensionlaravel-admin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lakely-laravel-admin-upload/health.svg)

```
[![Health](https://phpackages.com/badges/lakely-laravel-admin-upload/health.svg)](https://phpackages.com/packages/lakely-laravel-admin-upload)
```

###  Alternatives

[dianwoung/large-file-upload

An extension of laravel-admin for uploading large files

7745.7k2](/packages/dianwoung-large-file-upload)[catlane/chunk-file-upload

文件上传小扩展，可支持大文件分块分片上传到七牛云or本地，优化您上传大文件的苦恼

284.9k](/packages/catlane-chunk-file-upload)[jxlwqq/file-manager

file manager for laravel-admin

1215.6k](/packages/jxlwqq-file-manager)[laravel-admin-ext/wang-editor

wangEditor extension for laravel-admin

6283.4k](/packages/laravel-admin-ext-wang-editor)[laravel-admin-ext/file-browser

A file browser for laravel-admin

153.0k](/packages/laravel-admin-ext-file-browser)

PHPackages © 2026

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