1. Go to this page and download the library: Download yaojinhui1993/upload library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?phprequire_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
useYaojinhui1993\Upload\Receiver;
useYaojinhui1993\Upload\FileAPI;
useYaojinhui1993\Upload\Plupload;
useIlluminate\Http\JsonResponse;
th'
];
$inputName = 'file';
$storagePath = 'relative path';
// if use Plupload, new Recca0120\Upload\Plupload
$receiver = new Receiver(new FileAPI($config));
// save to $config['base_path'].'/'.$storagePath;
$receiver->receive($inputName)->send();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.