PHP code example of mr-old / ueditor

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

    

mr-old / ueditor example snippets


return [
    // .........
    'providers' => [
        // ..........
        'Leona\UeditorServiceProvider',
    ]
];

Route::any('test', function () {
    $Ue = app('ueditor');  // 从app容器中解析ueditor实例
    $Ue->response();
});

    $files = $Ue->getUploadedFiles();

php artisan vendor:publish