tus-php
tus-php copied to clipboard
🚀 A pure PHP server and client for the tus resumable upload protocol v1.0.0
Hello, I am unable to set up the server properly so that it uploads files. > tus.min.js:1 PATCH \ 410 (Gone) > file_loader.js:283 Chunk error! Error: tus: unexpected response while...
**Describe the bug** While Implementing my own PHP server-side code for receiving TUS uploads, and using your implementation as a reference, I noticed that your checksum implementation works completely different...
Can you make some documentation about getting started this library, with simple example. Also, maybe add some cpanel deploy documentation. Please.
- Config.php Edited; getCacheHome function - Config/server.php Added; redis.password field, Edited; file.name field - Config/client.php Added; redis.password field, Edited; file.name field - README file Edit; Comments Added keys that can...
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,...
Cloudflare supports the direct creator uploads with the tus client as mentioned here https://developers.cloudflare.com/stream/uploading-videos/direct-creator-uploads/#step-2-use-this-api-endpoint-with-your-tus-client ` $client = new \TusPhp\Tus\Client( 'https://upload.cloudflarestream.com/XXXX'); $client->setApiPath('/api'); $upload_key = uniqid(); // Unique upload key. $client->setKey( $upload_key...
The current implementation always creates the HTTP request from the superglobals: ```php public function __construct() { if (null === $this->request) { $this->request = HttpRequest::createFromGlobals(); } } ``` But this is...
> **Note:** Please report any security issues directly to hello [at] ankit.pl **Describe the bug** A clear and concise description of what the bug is. If I send a file...
> **Note:** Please report any security issues directly to hello [at] ankit.pl **Describe the bug** It is impossible to resume an upload when the server is Apache with fast CGI...
**Is your feature request related to a problem? Please describe.** During a file Upload operation, files are copied using a constant/8 Kbytes chunks. As seen here: https://github.com/ankitpokhrel/tus-php/blob/a466a9b835f3ea29ec4df7e37a2dc9e00d194304/src/File.php#L331 On every offset/bytes...