Download the PHP package easyswoole/u-editor without Composer

On this page you can find all versions of the php package easyswoole/u-editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package u-editor

u-editor

百度编辑器,composer eayswoole版本.

安装

使用方法

新增一个控制器,继承EasySwoole\UEditor\UEditorController.

该控制器请求地址为:/UEditor

修改百度编辑器ueditor.config.js =>window.UEDITOR_CONFIG=>serverUrl=URL + "/UEditor" 如图

即可直接使用.

补充说明

百度编辑器前端初始化后,会通过ueditor.config.js获取配置,通过获取到的服务器路径,请求格式为:
服务器路径+"?action=操作方法".例如: http://127.0.0.1:9501//UEditor?action=config&&noCache=1587973402520
前端请求之后,将通过UEditorController的index方法进行识别action,转发到不同的请求逻辑上,实现百度编辑器的后端接口.

自定义使用方法.

EasySwoole\UEditor\UEditorController控制器中,有着默认的实现方法,如果你需要修改配置,可通过重写控制器方法进行修改.

保存路径

默认保存路径为EASYSWOOLE_ROOT . '/Static'.可通过属性继承$rootPath修改属性修改.

权限控制实现

本组件默认控制器实现继承为EasySwoole\Http\AbstractInterface\Controller,如果你有需要登录用户上传等权限验证的需求,可以直接复制EasySwoole\UEditor\UEditorController里面的代码,重写继承,重写控制器方法


All versions of u-editor with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
easyswoole/http-client Version ^1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package easyswoole/u-editor contains the following files

Loading the files please wait ....