PHPackages                             aminrafiei/laravel-chunker - 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. aminrafiei/laravel-chunker

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

aminrafiei/laravel-chunker
==========================

This package is useful for handle chunk files in Laravel easily

v1.0.1(4y ago)2159MITPHPPHP ^7.3|^8.0

Since Jan 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/aminrafiei/laravel-chunker)[ Packagist](https://packagist.org/packages/aminrafiei/laravel-chunker)[ RSS](/packages/aminrafiei-laravel-chunker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Laravel Chunker
===============

[](#laravel-chunker)

[![Latest Stable Version](https://camo.githubusercontent.com/ef4e03210aa6305e1f90963b38493ea3c988afc979aa097ba4761997a7d62329/687474703a2f2f706f7365722e707567782e6f72672f616d696e7261666965692f6c61726176656c2d6368756e6b65722f76)](https://packagist.org/packages/aminrafiei/laravel-chunker)[![Total Downloads](https://camo.githubusercontent.com/6530f2c4a43f8bd106163a7cd4d7156948ca25c9eb76f718d856dd0a7d0e8dc7/687474703a2f2f706f7365722e707567782e6f72672f616d696e7261666965692f6c61726176656c2d6368756e6b65722f646f776e6c6f616473)](https://packagist.org/packages/aminrafiei/laravel-chunker)[![License](https://camo.githubusercontent.com/cc514ded188474fb9de46d868d2d43522c05973beec50ce0f72bd8afed59b73c/687474703a2f2f706f7365722e707567782e6f72672f616d696e7261666965692f6c61726176656c2d6368756e6b65722f6c6963656e7365)](https://packagist.org/packages/aminrafiei/laravel-chunker)[![PHP Version Require](https://camo.githubusercontent.com/c89f5d6800caf5ba6e20afca9aba9abc782d486a96b429a303c0335e7c8aa230/687474703a2f2f706f7365722e707567782e6f72672f616d696e7261666965692f6c61726176656c2d6368756e6b65722f726571756972652f706870)](https://packagist.org/packages/aminrafiei/laravel-chunker)

This package help you to handle chunk files in Laravel easily, and at the end it convert files to one file.

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

[](#installation)

You can download it via composer.

```
  composer require aminrafiei/laravel-chunker
  php artisan migrate

```

For publish config files:

```
  php artisan vendor:publish
```

### Requirements:

[](#requirements)

- PHP v7.3 or above
- Laravel v7.0 or above

### Note:

[](#note)

This package use **disk** driver for store files and write chunk files in laravel storage path if you need another path or another driver use can edit in config file.

Also you can implement your own storage driver by implement `FileServiceContract`

```
return [
    'save_path' => storage_path('chunker'),
    'storage_driver' => \Aminrafiei\Chunker\Services\File\SimpleDiskService::class,
];
```

Usage/Examples
--------------

[](#usageexamples)

In 3 steps you can handle chunk files!

First **init** then make in **progress** then make it **done**!

### 1) Init

[](#1-init)

For initialize chunk file porcess you should use:

```
  use Aminrafiei\Chunker\Facades\Chunker;

  $chunkId = Chunker::init($name, $type, $totalChunks, $totalSize);
```

### 2) Progress

[](#2-progress)

For handle chunk files and store use should use:

```
  use Aminrafiei\Chunker\Facades\Chunker;

  Chunker::progress($chunkId, $chunkNumber, $file);
```

### 3) Done

[](#3-done)

At the end when all chunk files uploaded for combine to one file you should call:

```
  use Aminrafiei\Chunker\Facades\Chunker;

  $response = Chunker::done($chunkId);
  $path = $response->getRealPath();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

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

Total

2

Last Release

1574d ago

### Community

Maintainers

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

---

Top Contributors

[![aminrafiei](https://avatars.githubusercontent.com/u/25347159?v=4)](https://github.com/aminrafiei "aminrafiei (10 commits)")

### Embed Badge

![Health badge](/badges/aminrafiei-laravel-chunker/health.svg)

```
[![Health](https://phpackages.com/badges/aminrafiei-laravel-chunker/health.svg)](https://phpackages.com/packages/aminrafiei-laravel-chunker)
```

###  Alternatives

[overtrue/laravel-filesystem-qiniu

A Qiniu storage filesystem for Laravel.

482229.7k16](/packages/overtrue-laravel-filesystem-qiniu)[rahulhaque/laravel-filepond

Use FilePond the Laravel way

261114.4k2](/packages/rahulhaque-laravel-filepond)[overtrue/laravel-filesystem-cos

A Cos storage filesystem for Laravel.

92128.4k7](/packages/overtrue-laravel-filesystem-cos)

PHPackages © 2026

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