The following tutorial column of composer will introduce to you how to install UEditor in laravel 5 composer. I hope it will be helpful to friends in need!
Since Qiniu’s official SDK 7.x version has not been released to composer
First manually add it to the project composer.json
"minimum-stability": "dev",
"require": {
"laravel/framework":
"5.0.*",
"qiniu/php-sdk": "dev-master",
"stevenyangecho/laravel-u-editor": "~1.1"
},
In config/app.php
Add
'Stevenyangecho\UEditor\UEditorServiceProvider'
Go to providers,
execute
##github address https://github .com/stevenyangecho/laravel-u-editorphp artisan vendor:publish
The above is the detailed content of How to install UEditor in laravel 5 composer. For more information, please follow other related articles on the PHP Chinese website!