PHP code example of wisdech / laravel-uploader

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

    

wisdech / laravel-uploader example snippets



use Wisdech\Uploader\Http\Controllers\UploaderController;
...

Route::post('uploader', [UploaderController::class, 'store'])->name('uploader.store');

typescript jsx

import { Editor } from '@wisdech/react-editor';

export default function(){

    return (
        <Editor
            uploader={route('uploader.store') // 使用Ziggy route() 或路径 '/uploader'}
        />
    )
}