# ueditor-for-thinkphp5 **Repository Path**: df81/ueditor-for-thinkphp5 ## Basic Information - **Project Name**: ueditor-for-thinkphp5 - **Description**: ThinkPHP5.0+版本整合Ueditor1.4.3.3+版本,实现Ueditor的上传功能采用TP5的上传类和图像处理类(水印,裁切压缩等),通过修改Ueditor.php控制器控制上传大小、修改文件路径等。 - **Primary Language**: PHP - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://www.df81.com - **GVP Project**: No ## Statistics - **Stars**: 24 - **Forks**: 5 - **Created**: 2017-01-05 - **Last Updated**: 2024-05-29 ## Categories & Tags **Categories**: text-editor **Tags**: None ## README # ThinkPHP5.0.4+版本整合Ueditor1.4.3.3+版本 实现Ueditor的上传功能采用TP5的上传类和图像处理类(水印,裁切压缩等), 通过修改Ueditor.php控制上传大小、修改文件路径等。 ### 【使用说明】 ``` 1、拷贝全部文件到WEB根目录,运行:http://您的域名/index.php 即可。 ``` ### 【用到的资源】 ``` 1、ThinkPHP5.0.4核心框架; 2、百度编辑器Ueditor1.4.3.3; 3、ThinkPHP5图像处理类。 ``` ### 【使用方法(逻辑)】 ``` 1、安装ThinkPHP5.0+核心框架,并安装图像处理类(或者安装TP5.0完整版); 2、下载并解压Ueditor1.4.3.3的PHP开发版到/public/目录,编辑器目录请设为:ueditor1433, 编辑器目录要与Ueditor.php控制器里的目录一致; 3、拷贝\application\index\controller\Ueditor.php控制器到你项目控制器文件夹; 4、拷贝\application\index\view\index\index.html到你的项目模板文件夹。 ``` ============================================================================================= 技术博客:http://www.df81.com 符工@邦明 1062129401@qq.com 2017.01.05