Download the PHP package ymlluo/laravel-ueditor without Composer

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

laravel-UEditor

此 Laravel 5 Package 是 Ueditor 的后端服务。

安装

Via Composer

配置

  1. 添加下面一行到 config/app.php 中 providers 部分:

    Laravel > 5.5 支持 Package Auto-Discovery 无需手动添加配置

2.如果使用文件管理功能建议在 config/app.php 中的 aliases 部分添加 (API 参考 api_doc)

3.发布配置文件

4.如果使用资源管理功能,需要运行 php artisan migrate 生成数据库中的表, 修改 config/ueditor.php 配置如下:

使用说明

此 package 只包含服务端内容,前端编辑器内容请自行下载

disk 配置中的 visibility 设置为 private 时,生成带签名的文件链接,有效期取决于 expiration 的设置,单位是秒( 0 表示永久)

默认配置说明

更多配置请修改 config/ueditor.php

前端配置注意事项

默认服务器路由地址为:/serv/ueditor/v1/server ,你可以修改配置中的 route.url ,改为你自定义的地址,同时需要修改ueditor.config.js 中的

laravel 默认开启 csrf_token 验证,因此前端需要配置 csrf_token 如下

或者 把请求路由加入到排除 csrf 列表

本地 Local 支持

默认使用 config/filesystems 中的 public 配置

  1. laravel 5.4+ 可以运行 php artisan storage:link ,此操作会创建 storage 目录到 public 目录的软链接。当然你也可以使用下面的方法手动指定目录。
  2. laravel 5.3 以下版本,请先创建软链接:

阿里云 OSS 支持

  1. 推荐安装 jacobcyl/ali-oss-storage

注意:此 package 使用isCName 存在 Bug,会导致上传失败,但是也没有找到更好的替代库 ,如需使用自定义域名或者 CDN 域名请配置 'url' => env('ALI_OSS_URL', '')

  1. 在config/filesystems 文件中添加 disks 配置

腾讯云 COSv5 支持

  1. 推荐安装 freyo/flysystem-qcloud-cos-v5

  2. 在config/filesystems 文件中添加 disks 配置

七牛支持

  1. 推荐安装 overtrue/laravel-filesystem-qiniu

  2. 在config/filesystems 文件中添加 disks 配置

AWS S3 支持

  1. 推荐安装 league/flysystem-aws-s3-v3

  2. 在config/filesystems 文件中添加 disks 配置

    特别注意! AWS S3 v4 版本的 SDK 设置签名链接 最多支持 一周的时间

京东云 OSS

1.京东云 OSS 使用兼容 AWS S3 的 SDK ,推荐安装 league/flysystem-aws-s3-v3

  1. 在config/filesystems 文件中添加 disks 配置

    特别注意! AWS S3 v4 版本的 SDK 设置签名链接 最多支持 一周的时间

事件

返回 $event->fileInfo;

TODO

License

license. Please see the license file for more information.

MIT


All versions of laravel-ueditor with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1|^8.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 ymlluo/laravel-ueditor contains the following files

Loading the files please wait ....