PHP code example of hongyukeji / laravel-simditor
1. Go to this page and download the library: Download hongyukeji/laravel-simditor 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/ */
hongyukeji / laravel-simditor example snippets
echo json_encode([
'success' => true,
'msg' => '图片上传错误信息',
'file_path' => '/upload/2018_10_11/1.jpg'
]);
shell
$ php artisan vendor:publish --provider="Hongyukeji\LaravelSimditor\SimditorServiceProvider"