暂无描述

xu ding 20107fff16 delete tmp folder only when creating file from chunks finishes 9 年之前
src 30aaad7326 delete tmp folder only when creating file from chunks finishes 9 年之前
test fcc841d6e6 create tmpDir if not exist 9 年之前
.gitignore b8f5a7a7ab Resumable class completion 9 年之前
composer.json 87ef7245ac add monolog for debugging 9 年之前
phpunit.xml b8f5a7a7ab Resumable class completion 9 年之前
readme.md c1db3a4c74 update readme.md 9 年之前

readme.md

PHP backend for resumable.js

Installation

To install, use composer:



## How to use
**upload.php**

<?php include 'vendor/autoload.php';

use Dilab\Network\SimpleRequest; use Dilab\Network\SimpleResponse; use Dilab\Resumable;

$request = new SimpleRequest(); $response = new SimpleResponse();

$resumable = new Resumable($request, $response); $resumable->tempFolder = 'tmps'; $resumable->uploadFolder = 'uploads'; $resumable->process();




## Testing

$ ./vendor/bin/phpunit ```