PHPackages                             fwy-olives/lyfzcom - 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. fwy-olives/lyfzcom

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

fwy-olives/lyfzcom
==================

lyfz Resource (Cloud) Storage SDK for PHP

1.3.1(5y ago)014MITPHPPHP &gt;=5.3.3

Since Jan 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/fwy-olives/lyfzcom)[ Packagist](https://packagist.org/packages/fwy-olives/lyfzcom)[ Docs](http://www.lyfz.net/)[ RSS](/packages/fwy-olives-lyfzcom/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)DependenciesVersions (11)Used By (0)

安装
--

[](#安装)

- 通过composer，这是推荐的方式，可以使用composer.json 声明依赖，或者运行下面的命令。SDK 包已经放到这里 \[`fwy-olives/lyfzcom`\]\[install-packagist\] 。

```
$ composer require fwy-olives/lyfzcom
```

- 直接下载安装，SDK 没有依赖其他第三方库，但需要参照 composer的autoloader，增加一个自己的autoloader程序。

运行环境
----

[](#运行环境)

SDK版本PHP 版本1.XcURL extension, 5.6,7.0使用方法
----

[](#使用方法)

/--企业中心 start--/

### 获取toke

[](#获取toke)

```
use Lyfzcom\Emc;
...
生 产 环 境
    $auth = new Emc($accessKey, $secretKey);
    $token = $auth->getAccessToken();
...
测试 环境
    $Lyfzcom = new Lyfzcom();
    $auth = new Emc($accessKey, $secretKey,"dev");
    $token = $auth->getAccessToken();
...
tp
$auth = new \Lyfzcom\Emc($accessKey, $secretKey);
$token = $auth->getAccessToken();
```

主动获取或推送 $auth-&gt;setAccessToken($token); $ret=$auth-&gt;companyList($uid);

/--企业中心 end--/ /--登录中心 start--/ 登录中心

### 获取toke

[](#获取toke-1)

```
use Lyfzcom\Sso;
...
生产环境
    $auth = new Sso($accessKey, $secretKey);
    $token = $auth->getAccessToken();
...
测试环境
    $Lyfzcom = new Lyfzcom();
    $auth = new Sso($accessKey, $secretKey,"dev");
    $token = $auth->getAccessToken();
...
tp
$auth = new \Lyfzcom\Sso($accessKey, $secretKey);
$token = $auth->getAccessToken();
```

主动推送或推送 $auth-&gt;setAccessToken($token); $ret=$auth-&gt;addUser($data); /--登录中心 end--/

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~11 days

Recently: every ~21 days

Total

10

Last Release

1845d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4437a56ee691dafed90f16d10305b05978e41aadca839ab132c8df93dff59050?d=identicon)[olives](/maintainers/olives)

---

Top Contributors

[![fwy-olives](https://avatars.githubusercontent.com/u/77221814?v=4)](https://github.com/fwy-olives "fwy-olives (33 commits)")

---

Tags

sdkcloudstoragelyfz

### Embed Badge

![Health badge](/badges/fwy-olives-lyfzcom/health.svg)

```
[![Health](https://phpackages.com/badges/fwy-olives-lyfzcom/health.svg)](https://phpackages.com/packages/fwy-olives-lyfzcom)
```

###  Alternatives

[qiniu/php-sdk

Qiniu Resource (Cloud) Storage SDK for PHP

8483.0M240](/packages/qiniu-php-sdk)[zgldh/qiniu-laravel-storage

Qiniu Resource (Cloud) Storage SDK for Laravel 5/6/7/8/9

530394.0k13](/packages/zgldh-qiniu-laravel-storage)[itbdw/laravel-storage-qiniu

A storage library for laravel5 and qiniu sdk

7015.2k](/packages/itbdw-laravel-storage-qiniu)

PHPackages © 2026

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