# laravelUeditor **Repository Path**: tianyawangyuege/laravel-ueditor ## Basic Information - **Project Name**: laravelUeditor - **Description**: 支持Laravel 8 Ueditor 支持 七牛 、本地 、阿里云OSS - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2021-03-06 - **Last Updated**: 2024-10-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # laravelUeditor #### 介绍 支持Laravel 8 Ueditor 支持 七牛 、本地 、阿里云OSS #### 软件架构 软件架构说明 #### 安装教程 1.安装 ~~~ composer require shenyewangyue/u_editor ~~~ 2.添加下面一行到 config/app.php 中 providers 部分: ~~~ `shenyewangyue\UEditor\UEditorServiceProvider::class,` ~~~ 3.发布配置文件和资源 ~~~ php artisan vendor:publish ~~~ 3.1.手动复制编辑器代码 ~~~ LaravelUeditor\resources\public 下的全部代码复制到 \public\Ueditor 文件夹下,注意大小写 ~~~ 4.模板添加代码 ~~~ {{-- 载入语言文件,根据laravel的语言设置自动载入 --}} ~~~ 5.修改配置文件 ~~~ config/filesystems.php 'disks' => [ 'aliyunoss' => [ 'driver' => 'aliyunoss', 'accessKeyId' => '',//oss 上传的4个必要参数 'accessKeySecret' => '', 'endpoint' => '', 'bucket' => '', 'url' => '',//oss 外部地址 ], ] ~~~