PHPackages                             wjlorine/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wjlorine/oss-utils

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wjlorine/oss-utils
==================

云存储工具类

V202210260(3y ago)019PHPPHP &gt;=7.1.0

Since Oct 25Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (8)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

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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 ~0 days

Total

7

Last Release

1300d ago

### Community

Maintainers

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

### Embed Badge

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

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

###  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)
