PHPackages                             barradev/fileuploadmodule - 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. barradev/fileuploadmodule

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

barradev/fileuploadmodule
=========================

Modul upload file untuk modul Barra Dev Studio

1.0(5y ago)020MITPHP

Since Mar 25Pushed 5y agoCompare

[ Source](https://github.com/Barra-Dev-Studio/fileUploadModule)[ Packagist](https://packagist.org/packages/barradev/fileuploadmodule)[ RSS](/packages/barradev-fileuploadmodule/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

FileUpload
==========

[](#fileupload)

Modul ini merupakan modul untuk upload file atau gambar lebih tepatnya, dengan bantuan dari [Filepond](https://pqina.nl/filepond)Pastikan install dulu ya.

Ada beberapa yang ditambahkan

1. Controller untuk mengatur controller
2. Service untuk berkomunikasi dengan database melalui model, dan fungsi lainnya
3. Migration untuk migrasi kolom

Installasi
----------

[](#installasi)

```
composer require barradev/fileuploadmodule

```

Setelah berhasil diinstal, jalankan perintah

```
php artisan fileuploadmodule:publish

```

Route
-----

[](#route)

Tambahkan route berikut

```
Route::prefix('upload')->group(function () {
    Route::post('uploadTemp', [UploadController::class, 'store'])->name('upload.temp');
    Route::delete('uploadRevert/{id}', [UploadController::class, 'revert'])->name('upload.revert');
});
```

Tambahkan ini di view, sesuai dengan dokumentasi Filepond
---------------------------------------------------------

[](#tambahkan-ini-di-view-sesuai-dengan-dokumentasi-filepond)

```
// head

// script

    FilePond.registerPlugin(); // Kalau mau install plugin

    const inputElement = document.querySelector('input[id="file"]');    // id input file nya
    const pond = FilePond.create(inputElement);
    FilePond.setOptions({
        server: {
            process: "{{ route('upload.temp') }}",
            revert: (uniqueFileId, load, error) => {
                $.ajax({
                    url: "{{ url('upload/uploadRevert') }}/" + uniqueFileId,
                    method: 'DELETE',
                    headers: {
                        'X-CSRF-TOKEN': "{{ csrf_token() }}"
                    }
                })
            },
            headers: {
                'X-CSRF-TOKEN': "{{ csrf_token() }}"
            }
        },
        allowImagePreview: true,                // Optional harus install plugin dulu
        allowFileSizeValidation: true,          // Optional harus install plugin dulu
        imagePreviewHeight: 725,                // Optional harus install plugin dulu
        maxFileSize: "1024KB"                   // Optional harus install plugin dulu
    })

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

1879d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fc09c9b667f1daea48d601724512e3c9e4518b34c7b2fb9c0ebe7a802c2b2cc5?d=identicon)[khumam](/maintainers/khumam)

---

Top Contributors

[![khumam](https://avatars.githubusercontent.com/u/43531752?v=4)](https://github.com/khumam "khumam (26 commits)")

### Embed Badge

![Health badge](/badges/barradev-fileuploadmodule/health.svg)

```
[![Health](https://phpackages.com/badges/barradev-fileuploadmodule/health.svg)](https://phpackages.com/packages/barradev-fileuploadmodule)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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