Download the PHP package sanlilin/laravel-ueditor-plus without Composer

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

Laravel-UEditor-Plus

UEditor integration for Laravel 5.

安装

配置

  1. 添加下面一行到 config/app.phpproviders 部分:

  2. 发布配置文件与资源

  3. 模板引入编辑器

    这行的作用是引入编辑器需要的 css,js 等文件,所以你不需要再手动去引入它们。

  4. 编辑器的初始化

说明

  1. laravel5+ 请不要忘记 php artisan storage:link
  2. config/ueditor-plus.php 配置 disk'public' 情况下,上传路径在:public/uploads/ 下,确认该目录存在并可写。
  3. 如果要修改上传路径,请在 config/ueditor-plus.php 里各种类型的上传路径,但是都在 public 下。
  4. 请在 .env 中正确配置 APP_URL 为你的当前域名,否则可能上传成功了,但是无法正确显示。

S3支持

  1. 配置 config/ueditor-plus.phpdisks3:

事件

上传中

Sanlilin\LaravelUEditorPlus\Events\Uploading

在保存文件之前,你可以拿到一些信息:

你可以在本事件监听器返回值,返回值将替换 $filename 作为存储文件名。

上传完成

Sanlilin\LaravelUEditorPlus\Events\Uploaded

它有两个属性:

你可以监听此事件用于一些后续处理任务,比如记录到数据库。

License

MIT


All versions of laravel-ueditor-plus with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
predis/predis 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 sanlilin/laravel-ueditor-plus contains the following files

Loading the files please wait ....