Download the PHP package bingher/ueditor without Composer

On this page you can find all versions of the php package bingher/ueditor. 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 ueditor

bingher/ueditor

thinkphp6 ueditor 插件

安装

资源及数据库配置

以上操作将会复制静态资源文件到/public/static/bingher/ueditor目录下,在数据库中创建ueditor_config配置表

配置

配置文件config/ueditor.php

如果有做数据迁移,将以数据库中的ueditor_config配置为主,你可以访问http://你的域名/ueditor/setting/index进行配置,示例:

使用独立配置的filesystem 配置config/filesystem.php增加ueditor的配置项,示例:

以上配置引用了thans/thinkphp-filesystem-cloud,请自行安装

你也可以在你的网站管理后台的某个系统设置的页面模板中使用{:ue_setting()}就可以自动生成以上的表单进行配置了

使用

在模板文件中需要引入的地方加入以下代码

ue_view方法如下:

参数 说明
$name 生成的插件id及表单提交字段name,默认ueditor,同一个页面需要多个ueditor,需要分别设定
$content 初始化内容,在需要编辑的时候传入编辑文本内容
$config 配置项,参考ueditor.config.js

注意事项 关闭APP_DEBUG(生产环境)后,默认会验证session(session_uid_key)是否有值,如果配置你的系统不是存储session('uid'),请自行配置对应的用于验证权限的键名,默认验证方法是check_uid,可以更改配置auth_control为验证权限的方法即可(注意bool类型的返回)

DEMO

ue_view

http://你的域名/ueditor/demo/view

ue_setting

http://你的域名/ueditor/demo/setting

开发


All versions of ueditor with dependencies

PHP Build Version
Package Version
Requires topthink/framework Version ^6.0.0
topthink/think-view Version ^1.0
topthink/think-image Version ^1.0
topthink/think-migration Version ^3.0
xaboy/form-builder Version ~2.0
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 bingher/ueditor contains the following files

Loading the files please wait ....