PHPackages                             lorine/oss-utils - 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. lorine/oss-utils

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

lorine/oss-utils
================

云存储工具类

v3.1(4y ago)4457PHPPHP &gt;=7.1.0

Since Nov 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/LorineTsan/oss-utils)[ Packagist](https://packagist.org/packages/lorine/oss-utils)[ RSS](/packages/lorine-oss-utils/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

简介（oss-tools）
=============

[](#简介oss-tools)

腾讯云、七牛云对象存储的工具类

An SDK integrating Tencent cloud and qiniu cloud object storage

安装（Installation）
----------------

[](#安装installation)

```
composer require lorine/oss-utils
```

示例（example）
-----------

[](#示例example)

```
use Lorine\OssUtils\OssService;

     $config = [
            'ak' => 'xxxxxx',//SecretId /Access_Key
            'sk' => 'xxxxxx',//SecretKe /Secret_Key
            'bucket' => 'xxxxx',//桶名
            'region' => ''//地区 七牛云为''，腾讯云在控制台对象存储界面获取，如上海（ap-shanghai）
        ];

    try {
            //云存储类型 腾讯云：Tencent  七牛云：Qiniu
            $obj = (new OssService())->getOssService('Tencent');
            //$tmpName绝对路径
            //$fileName自定义云储存的文件名称
            $res = $obj->uploadFile($config,$tmpName,$fileName);
            dd($res);
        }catch (Exception $exception){
            dd($exception->getMessage());
        }
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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

Every ~7 days

Total

4

Last Release

1611d ago

Major Versions

v1.0 → v2.02021-11-25

v2.0 → v3.02021-11-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/e600317fb3af7fa23292f7004a20be61d34e4c83ea4917e4ba5050cb8814c293?d=identicon)[LorineTsan](/maintainers/LorineTsan)

---

Top Contributors

[![Lorine-tasn](https://avatars.githubusercontent.com/u/79840846?v=4)](https://github.com/Lorine-tasn "Lorine-tasn (9 commits)")[![LorineTsan](https://avatars.githubusercontent.com/u/91358599?v=4)](https://github.com/LorineTsan "LorineTsan (1 commits)")

### Embed Badge

![Health badge](/badges/lorine-oss-utils/health.svg)

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

PHPackages © 2026

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