PHPackages                             guoguo882010/ueditor-oss - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. guoguo882010/ueditor-oss

ActiveLibrary[File &amp; Storage](/categories/file-storage)

guoguo882010/ueditor-oss
========================

百度编辑器图片上传到阿里云 oss

1.0.0(8mo ago)036MITPHPPHP &gt;=7.1

Since Aug 26Pushed 8mo agoCompare

[ Source](https://github.com/guoguo882010/ueditor-oss)[ Packagist](https://packagist.org/packages/guoguo882010/ueditor-oss)[ RSS](/packages/guoguo882010-ueditor-oss/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

百度编辑器图片上传到阿里 OSS
================

[](#百度编辑器图片上传到阿里-oss)

**安装**

```
composer require guoguo882010/ueditor-oss
```

**使用**

更改百度编辑器的配置文件 ueditor.config.js 中的 serverUrl 为你项目的控制器方法

```
//阿里云 oss 配置
$ossConfig = [
    'access_key_id' => 'key id',

    'access_key_secret' => 'key secret',

    // 桶名称
    'bucket_name'       => 'scb-sys',

    // 阿里外网、内网url，自定义url
    'endpoint'          => 'http://oss-cn-chengdu.aliyuncs.com',

    // 临时url超时时间，单位秒
    'sign_timeout'      => 3600,
];

//百度编辑器，后端图片处理
$baidu = new \RSHDSDK\UEditorOSS\UEditor($ossConfig);

//前台接收的百度编辑器 url 参数数组传给 action 方法，自动把图片上传到阿里 oss
$baidu->action($this->request->param());

//获取的数据，oss替换成完整路径
$baidu->getHtml('html字符串');
//设置的数据，删除掉oss路径中的域名
$baidu->setHtml('html字符串');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance60

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

257d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b57028d0ae01c0a3e0a63cf818bff6b9d6ec8f8b92c506ac6a344d42e1dfea8?d=identicon)[gk](/maintainers/gk)

---

Top Contributors

[![guoguo882010](https://avatars.githubusercontent.com/u/3445260?v=4)](https://github.com/guoguo882010 "guoguo882010 (1 commits)")

### Embed Badge

![Health badge](/badges/guoguo882010-ueditor-oss/health.svg)

```
[![Health](https://phpackages.com/badges/guoguo882010-ueditor-oss/health.svg)](https://phpackages.com/packages/guoguo882010-ueditor-oss)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M124](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
