Download the PHP package pjkui/kindeditor without Composer

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

KindEditor

**修复了linux下的一些bug,由于Yii China 无法更新这些信息,抱歉。使用方法务必参考本文,YiiChina上的方法有拼写问题,因为无法修改,所以一定要看这个!!!***

中文的使用说明在页面下部

install

Either run

or add

to the require section of your composer.json file.

Usage example

add an actions() method in controller

used in view :

or :

or :

configure

you can configure clientOption and editorType to change the kindeditor's preference, the detail configure see the official websiteKindEditor website

editorType configure

  1. Work as text editor,default configure.

usage:

  1. uploadButton Kindediotr work as a upload file button ,can upload file/picture to the server automatic

usage:

  1. colorpickerkindeditor work as color picker

usage:

  1. file-managerkindeditor work as file manager,can view and select the file which uploaded by it .

usage:

  1. image-dialogkindeditor work as image upload dialog.

usage:

  1. file-dialogkindeditor work as file upload dialog.

usage:

simple demo:

KindEditor中文手册

如何安装

第一种方法: 如果装了composer,可以运行这个命令

第二种方法: 将

加入到项目 composer.json 文件的require 部分。

第三种方法: 直接将程序文件放到系统的vendor下面,其实建议用compaser,这个是比较方便和规范的安装方法,如果是拷贝的话,有一个文件需要修改,以保证这个kindeditor类被加载。 这个文件是/vendor/composer/autoload_psr4.php.添加一行

使用方法

控制器:

在控制器中加入这个方法:

视图:

先在视图中加入

或者:

或者:

具体相关功能配置

编辑器相关配置,请在view 中配置,参数为clientOptions,比如定制菜单,编辑器大小等等,具体参数请查看KindEditor官网文档

editorType配置

  1. 配置为富文本编辑器,默认配置

    示例:

  2. 这时候配置kindeditor为上传文件按钮,可以自动上传文件到服务器 示例:

  3. 配置kindeditor为取色器 示例:

  4. 配置kindeditor为文件管理器,可以查看和选着其上传的文件。 示例:

  5. 配置kindeditor为图片上传对话框。 示例:

  6. 配置kindeditor为文件上传对话框。 示例:

简单 示例:


All versions of kindeditor with dependencies

PHP Build Version
Package Version
No informations.
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 pjkui/kindeditor contains the following files

Loading the files please wait ....