New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

yanthink/ueditor

百度UEditor服务端
14
Install
composer require yanthink/ueditor
Latest Version:1.0
PHP:>=5.5.9
License:MIT
Last Updated:Jul 14, 2017
Links: GitHub  ·  Packagist
Maintainer: yanthink

UEditor

百度UEditor服务端

安装

  1. 打开终端执行下面命令:
composer require yanthink/ueditor
  1. 打开 config/app.php 然后将下面内容添加到 providers 数组中:
Yanthink\Ueditor\UeditorServiceProvider::class,
  1. 将下面内容添加到 config/app.php 文件的 aliases 数组中:
'Ueditor' => Yanthink\Ueditor\Facades\Ueditor::class,
  1. 在终端执行下面命令:
php artisan vendor:publish --provider="Yanthink\Ueditor\UeditorServiceProvider"

配置Route

    Route::match(['post', 'get'], 'ueditor/server', [
        'uses' => '\Yanthink\Ueditor\Http\Controllers\UeditorController@init',
    ]);

配置Ueditor

    window.UEDITOR_CONFIG = {
      serverUrl: '/ueditor/server',
      ...,
    }

Related Packages

aweika/laravel-ueditor

ueditor for laravel.

100 0
ibrand/laravel-ueditor

UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu...

13,817 3
ender/laravel-ueditor

A laravel package of ueditor,which is baidu's open source WYSIWYG editor

3,380 39
lewisliang82/ueditor

A laravel package of ueditor,which is baidu's open source WYSIWYG editor

82 0

Version History

Version Released PHP License
1.0 >=5.5.9 MIT