PHPackages                             tiderjian/la-filepond - 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. tiderjian/la-filepond

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

tiderjian/la-filepond
=====================

file upload extension for laravel-admin

v1.0.4(6y ago)174254MITPHPPHP &gt;=7.2.0

Since Mar 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/quansitech/la-filepond)[ Packagist](https://packagist.org/packages/tiderjian/la-filepond)[ RSS](/packages/tiderjian-la-filepond/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (5)Versions (6)Used By (0)

filepond for laravel-admin
==========================

[](#filepond-for-laravel-admin)

[![Travis (.com)](https://camo.githubusercontent.com/550dbbb931a3ed1d50bf1783480b6ab39d030040f1030b610bf1461186b4631f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f74696465726a69616e2f6c612d66696c65706f6e642e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/550dbbb931a3ed1d50bf1783480b6ab39d030040f1030b610bf1461186b4631f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f74696465726a69616e2f6c612d66696c65706f6e642e7376673f7374796c653d666c61742d737175617265)[![style ci](https://camo.githubusercontent.com/550dbbb931a3ed1d50bf1783480b6ab39d030040f1030b610bf1461186b4631f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f74696465726a69616e2f6c612d66696c65706f6e642e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/550dbbb931a3ed1d50bf1783480b6ab39d030040f1030b610bf1461186b4631f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f74696465726a69616e2f6c612d66696c65706f6e642e7376673f7374796c653d666c61742d737175617265)[![download](https://camo.githubusercontent.com/27580aff0dd1a77c5caae992a9888a6eb559c2c2ca0f38cb766837386b6635d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696465726a69616e2f6c612d66696c65706f6e642e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/27580aff0dd1a77c5caae992a9888a6eb559c2c2ca0f38cb766837386b6635d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696465726a69616e2f6c612d66696c65706f6e642e7376673f7374796c653d666c61742d737175617265)[![lincense](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)[![LICENSE](https://camo.githubusercontent.com/be80b8cb211ceb2263744e99fdb161a40124901906fd7c7f47d6361760dd7e8b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d416e74692532303939362d626c75652e737667)](https://github.com/996icu/996.ICU/blob/master/LICENSE)[![Pull request welcome](https://camo.githubusercontent.com/25f2db1404306d6dc01b1ac6e8c70f5f397ea8043dd9584d8dc4bc31b8bfea59/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70722d77656c636f6d652d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/25f2db1404306d6dc01b1ac6e8c70f5f397ea8043dd9584d8dc4bc31b8bfea59/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70722d77656c636f6d652d677265656e2e7376673f7374796c653d666c61742d737175617265)

[中文文档](https://github.com/tiderjian/la-filepond/blob/master/README_CN.md)
-------------------------------------------------------------------------

[](#中文文档)

About
-----

[](#about)

[Filepond](https://github.com/pqina/filepond)is a flexible and fun JavaScript file upload library, that can upload anything you throw at it, optimizes images for faster uploads, and offers a great, accessible, silky smooth user experience. Filepond for laravel-admin is [laravel-admin](https://github.com/z-song/laravel-admin) extention base on it.

Why
---

[](#why)

laravel-admin's upload item is hard to use and more complex, and slowly upload while more multiple files, this is a bad user experience. Filepond upload by ajax, suitable for multiple file upload.

Demo
----

[](#demo)

[![](https://user-images.githubusercontent.com/1665649/54975771-280ac900-4fd3-11e9-91c6-c26661242fcb.gif)](https://user-images.githubusercontent.com/1665649/54975771-280ac900-4fd3-11e9-91c6-c26661242fcb.gif)

Install
-------

[](#install)

first, install [laravel-admin](https://github.com/z-song/laravel-admin), and run below command.

```
composer require tiderjian/la-filepond

```

run laravel-admin extention import.

```
php artisan admin:import filepond

```

Config
------

[](#config)

find out the extensions segment in the config/admin.php，add filepond config

```
'extensions' => [
    'filepond' => [
        // enable or disable the extension
        'enable' => true,
        // atuo delete the uploaded files(default false)
        'autodelete' => true
    ]
]

```

Usage
-----

[](#usage)

```
//image upload
$form->filepondImage(@database column, @label)
//file upload
$form->filepondFile(@database column, @label)

//multiple images upload
$form->filepondImage(@database column, @label)->multiple()
//multiple files upload
$form->filepondFile(@database column, @label)->multiple()

//ps:multiple upload save to database in json，must set the casts to json on the model.
protected $casts = [
    'images' => 'json',
    'files'  => 'json',
];

//set required
$form->filepondImage(@database column, @label)->rules('required')

//set file type that can be uploaded.
$form->filepondFile(@database column, @label)->mineType(['application/msword', 'application/pdf'])
$form->filepondFile(@database column, @label)->mineType('application/msword')

//set max file size, unit: KB
$form->filepondFile(@database column, @label)->size(30)

```

extension
---------

[](#extension)

You can extend it by youself, here is a sample that extend a image size validate plugin.

1. download [filepond-plugin-image-validate-size](https://github.com/pqina/filepond-plugin-image-validate-size),add to public/vendor/laravel-admin-ext/la-filepond/js
2. add to app/Admin/bootstrap.php

```
\Encore\Admin\Admin::booting(function(){
    \Qs\La\Filepond\File::extendPluginJs(['/vendor/laravel-admin-ext/la-filepond/js/filepond-plugin-image-validate-size.min.js']);
    \Qs\La\Filepond\File::extendPlugin('FilePondPluginImageValidateSize');
    //use the \Qs\La\Filepond\File::extendPluginCss function to add css file
});

```

3. find out the pulgin document, and add config as you like

```
//imageValidateSizeMinWidth、imageValidateSizeMaxWidth is the config keys
$form->filepondImage('images', 'images')->multiple()->options(['imageValidateSizeMinWidth' => 200, 'imageValidateSizeMaxWidth' => 400]);

```

lincense
--------

[](#lincense)

[MIT License](https://github.com/tiderjian/la-filepond/blob/master/LICENSE.MIT) AND [996ICU License](https://github.com/tiderjian/la-filepond/blob/master/LICENSE.996ICU)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~42 days

Total

5

Last Release

2486d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/15a0610fee78753bdad92fd45c3506455c0fd45ae51924797b1841d260495a3f?d=identicon)[tiderjian](/maintainers/tiderjian)

---

Top Contributors

[![tiderjian](https://avatars.githubusercontent.com/u/1665649?v=4)](https://github.com/tiderjian "tiderjian (3 commits)")[![jianminLee](https://avatars.githubusercontent.com/u/13827117?v=4)](https://github.com/jianminLee "jianminLee (2 commits)")

---

Tags

filepondlaravel-adminlaravel-admin-extensionlaravel-adminfilepondfileupload

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tiderjian-la-filepond/health.svg)

```
[![Health](https://phpackages.com/badges/tiderjian-la-filepond/health.svg)](https://phpackages.com/packages/tiderjian-la-filepond)
```

###  Alternatives

[dianwoung/large-file-upload

An extension of laravel-admin for uploading large files

7747.3k2](/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

1115.8k](/packages/jxlwqq-file-manager)[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)
