PHP code example of houdunwang / uploader

1. Go to this page and download the library: Download houdunwang/uploader 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/ */

    

houdunwang / uploader example snippets


Route::get('/', function () {
	return Uploader::config(config('uploader'))->upload('index.php');
});

Route::get('/', function () {
	return app(\Houdunwang\Uploader\Uploader::class)->config(config('uploader'))->upload('index.php');
});