PHP code example of dilab / dropzone.php

1. Go to this page and download the library: Download dilab/dropzone.php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dilab / dropzone.php example snippets




use Dilab\Dropzone;

$stream = fopen($_FILES['file']['tmp_name'], 'r+');

$dropzone = new Dropzone(__DIR__);

$dropzone->name($_FILES['file']['name'])->upload($stream, $_POST);
 composer