PHPackages                             mehrdad-dadkhah/php-fine-uploader - 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. mehrdad-dadkhah/php-fine-uploader

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

mehrdad-dadkhah/php-fine-uploader
=================================

upload chunks file. use to upload big files

1.3.0(8y ago)71.3k1GPLv3PHPPHP &gt;=7.0

Since Sep 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Mehrdad-Dadkhah/php-fine-uploader)[ Packagist](https://packagist.org/packages/mehrdad-dadkhah/php-fine-uploader)[ Docs](https://github.com/Mehrdad-Dadkhah/php-fine-uploader)[ RSS](/packages/mehrdad-dadkhah-php-fine-uploader/feed)WikiDiscussions master Synced today

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

php-fine-uploader
=================

[](#php-fine-uploader)

[![Software License](https://camo.githubusercontent.com/e1514dd3f2095dbf68a0008ae62a631142953ad2e86aa94c504343f2c2c191da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c2d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/6609c33f0c7ad0ac15901c6331f63546ed0848879c33769261bdb10e5468c5c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4d6568726461642d4461646b6861682f7068702d66696e652d75706c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mehrdad-dadkhah/php-fine-uploader)[![Packagist](https://camo.githubusercontent.com/4c7696b562c50c6d1770ff2dafdfbe4fdbfbb35168c600031b786d7f7b148461/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4d6568726461642d4461646b6861682f7068702d66696e652d75706c6f616465722e7376673f7374796c653d666c61742d737175617265266d61784167653d323539323030)](https://packagist.org/packages/Mehrdad-Dadkhah/php-fine-uploader)

php lib for use [fine-uploader js](https://fineuploader.com/) as client and upload big files with separate to chunks files. This libarary is base on [chunks-uploader](https://github.com/Mehrdad-Dadkhah/chunks-uploader).

Installation
------------

[](#installation)

```
composer require mehrdad-dadkhah/php-fine-uploader

```

Usage
-----

[](#usage)

```
use MehrdadDadkhah\Video\FineUploader;

$uploaderService = new FineUploader();
$uploadResult = $uploaderService->setConfigs(
                'form-input-name',
                'path-to-chunks-folder'
            )
                ->setUniqueIdentifier('unique-identifier')
                ->setDomain('http://example.com') //to set cors header
                ->checkDublicateFile(function($uuid) { //closure function to check file is duplicate or not it should get $uuid as input and return boolean. uuid is a video unique hash
                	return false;
                })
                ->upload('path-to-upload-directory');
```

Custome file name
-----------------

[](#custome-file-name)

If want to set output file name try use setUploadName() function before fire finishUpload() function:

```
$uploadHandeler->setUploadName('my-name.mp4');
```

If don't set name your file name be with structur YYYY\_m\_d\_hashname.mp4 and in final resutl generated name will be return.

Check and generate output directory
-----------------------------------

[](#check-and-generate-output-directory)

If want to script make output directory automatically just set it:

```
$uploadHandeler->checkAndGenerateOutputDirectory();
```

Temp directory
--------------

[](#temp-directory)

If want to generate file in a temp directory and then move to main upload directory you can use setTempDirectory() function:

```
$uploadHandeler->setTempDirectory('path-to-temp');
```

Max upload size
---------------

[](#max-upload-size)

ChunksUploader calculate uploaded file size (sum of chunks) and compare with upload\_max\_filesize ini config. If want to stop bigger file at first request for better ux can pass total main file size in bytes:

```
$uploadHandeler->setVideoTotalSize(213456);
```

And can overwrite upload\_max\_filesize by:

```
$uploadHandeler->setMaxUploadSize(213456);
```

License
-------

[](#license)

hls-video-generater is licensed under the [GPLv3 License](http://opensource.org/licenses/GPL).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

6

Last Release

3150d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3860685?v=4)[Mehrdad-Dadkhah](/maintainers/Mehrdad-Dadkhah)[@Mehrdad-Dadkhah](https://github.com/Mehrdad-Dadkhah)

---

Top Contributors

[![Mehrdad-Dadkhah](https://avatars.githubusercontent.com/u/3860685?v=4)](https://github.com/Mehrdad-Dadkhah "Mehrdad-Dadkhah (10 commits)")

---

Tags

videofileuploaderchunksbig\_filefine\_uploadertus\_uploaderflowjs\_uploaderserver\_uploader

### Embed Badge

![Health badge](/badges/mehrdad-dadkhah-php-fine-uploader/health.svg)

```
[![Health](https://phpackages.com/badges/mehrdad-dadkhah-php-fine-uploader/health.svg)](https://phpackages.com/packages/mehrdad-dadkhah-php-fine-uploader)
```

###  Alternatives

[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[transloadit/php-sdk

Transloadit SDK

63393.6k2](/packages/transloadit-php-sdk)[digital-creative/nova-filepond

A Nova field for uploading File, Image and Video using filepond.

5568.0k1](/packages/digital-creative-nova-filepond)

PHPackages © 2026

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