ankitpokhrel / tus-php

🚀 A pure PHP server and client for the tus resumable upload protocol v1.0.0

Home Page:https://tus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Octane support

mrcatman opened this issue · comments

Is it possible to use tus-php on a Laravel Octane project? (with Swoole)
As i see, tus is reading uploading files from php://input stream, which is unavailable in Swoole. Also, the globals ($_GET, $_SERVER, etc) are empty in Swoole, but at least it can be fixed using a middleware, unlike the file upload itself.