PHPackages                             oneofftech/laravel-tus-upload - 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. oneofftech/laravel-tus-upload

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

oneofftech/laravel-tus-upload
=============================

Upload files to your Laravel application with the tus.io resumable upload protocol.

v0.11.0(3y ago)517.3k15[7 PRs](https://github.com/OneOffTech/laravel-tus-upload/pulls)MITPHPPHP ^8.0.2

Since Aug 31Pushed 2y ago3 watchersCompare

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

READMEChangelog (10)Dependencies (10)Versions (19)Used By (0)

[![CI](https://github.com/OneOffTech/laravel-tus-upload/workflows/CI/badge.svg)](https://github.com/OneOffTech/laravel-tus-upload/workflows/CI/badge.svg)

Laravel [Tus](http://tus.io/) based Upload
==========================================

[](#laravel-tus-based-upload)

A package for handling resumable file uploads in a Laravel application via the [tus.io](http://tus.io/) resumable file upload protocol.

This package contains a PHP component for controlling the Tus upload server and a javascript library for interacting with the server. The Tus upload server is the official [Tus server binary](https://github.com/tus/tusd), this package does not re-implement the tus protocol in pure PHP.

> **This package currently works only on Linux based OS.** If you want to try it on Windows 10, please take into consideration to use the [Windows Subsystem for Linux](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide)

Features (some in development)
------------------------------

[](#features-some-in-development)

- Resumable upload mechanism (with self distributed tusd binary)
- Upload queue handling
- Javascript Upload component
- Hopefully easy setup

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

[](#installation)

To get started, install Laravel Tus Upload via the [Composer](http://getcomposer.org/) package manager.

> Requires PHP &gt;= 8.0

```
composer require oneofftech/laravel-tus-upload
```

The `OneOffTech\TusUpload\Providers\TusUploadServiceProvider::class` service provider is auto-registered.

**Routes registration**

The API routes are not registered automatically by the service provider. This is done on purpose to have more customization options, for example the usage of custom routes and controller logic.

To register the routes call `\OneOffTech\TusUpload\Tus::routes()` from within your application `RouteServiceProvider`

```
