PHPackages                             xuyong/xy-oss-sdk - 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. xuyong/xy-oss-sdk

ActiveLibrary

xuyong/xy-oss-sdk
=================

测试

v1.2.2(4y ago)15MITPHPPHP &gt;=7.1.0

Since Nov 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/china-xuyongy/xy-oss-sdk)[ Packagist](https://packagist.org/packages/xuyong/xy-oss-sdk)[ RSS](/packages/xuyong-xy-oss-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

xy-oss-sdk
==========

[](#xy-oss-sdk)

文件上传

---

example
-------

[](#example)

```
    use xuyong\oss\Manager;

    $config = [
        //为用户的 secretId，请登录访问管理控制台进行查看和管理，七牛云是AK
        'AppId'=>'',
        //为用户的 secretKey，请登录访问管理控制台进行查看和管理，七牛云是SK
        'AppKey'=>'',
        //阿里云的云存储地址Region请按实际情况填写,七牛云没有可以为空，腾讯云为用户的 region，已创建桶归属的region可以在控制台查看
        'endpoint'=>'',
        //存储空间名称
        'bucket'=>'',
        //文件后缀名，如：jpg，gif，png等等。默认为：jpg
        'extension'=>''
    ];
    $cloud = Manager::storage('云存储厂商');    //阿里云：aliyun、腾讯云：tencent、七牛云：qiniu
    $storage = $cloud->upload('文件临时路径',$config);;

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

1627d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cf87d5c9c46e93e8e381fa6dcd7b1e21a8fcd1369f030d2a1f7babec50b9c6c?d=identicon)[china-xuyongy](/maintainers/china-xuyongy)

---

Top Contributors

[![china-xuyongy](https://avatars.githubusercontent.com/u/95013560?v=4)](https://github.com/china-xuyongy "china-xuyongy (11 commits)")

### Embed Badge

![Health badge](/badges/xuyong-xy-oss-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/xuyong-xy-oss-sdk/health.svg)](https://phpackages.com/packages/xuyong-xy-oss-sdk)
```

###  Alternatives

[qinchen/web-utils

A web application common utils

111.4k](/packages/qinchen-web-utils)

PHPackages © 2026

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