PHPackages                             tcb13/thunder-tus-php - 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. tcb13/thunder-tus-php

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

tcb13/thunder-tus-php
=====================

2.1.3(6y ago)141.8k2PHPPHP ^7.2

Since Dec 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/TCB13/thunder-tus-php)[ Packagist](https://packagist.org/packages/tcb13/thunder-tus-php)[ RSS](/packages/tcb13-thunder-tus-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (1)Versions (14)Used By (0)

ThunderTUS PHP
==============

[](#thundertus-php)

Resumable file upload in PHP using tus resumable upload protocol v1.0.0.

**tus** is a HTTP based protocol for resumable file uploads. Resumable means you can carry on where you left off without re-uploading whole data again in case of any interruptions. An interruption may happen willingly if the user wants to pause, or by accident in case of a network issue or server outage.

**thunder tus** is the most reliable implementation of the tus protocol for PHP yet. Designed for **high concurrency** (real world scenarios) and integration simplicity it's **free of external dependencies** (complex caching engines etc.). It is also **PSR-7 compliant** in order to bring the tus protocol to modern PHP frameworks such as **Slim 3**.

**extensions**: building on the extensibility capabilities of the tus protocol, thunder tus also includes two new extensions:

- **CrossCheck**: final checksum of the uploaded files to ensure maximum reliability;
- **Express**: tus uploads with a single HTTP call - making tus better suited for mobile contexts and other environments where performance is a priority.

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

[](#installation)

Pull the package via composer.

```
$ composer require TCB13/thunder-tus-php
```

Basic Usage
-----------

[](#basic-usage)

Use composer to install `tcb13/thunder-tus-php` and some other packages used in the following examples:

```
$ composer require tcb13/thunder-tus-php psr/http-message zendframework/zend-diactoros zendframework/zend-httphandlerrunner
```

Create your `tus-server.php` file:

```
