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

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

crazyssl/sdk
============

The sdk for CrazySSL

v5.0.6(6y ago)22852[2 issues](https://github.com/crazyssl/sdk/issues)MITPHPPHP &gt;=5.6CI failing

Since Aug 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/crazyssl/sdk)[ Packagist](https://packagist.org/packages/crazyssl/sdk)[ RSS](/packages/crazyssl-sdk/feed)WikiDiscussions v3 Synced 2d ago

READMEChangelog (10)Dependencies (7)Versions (20)Used By (0)

CrazySSL PHP SDK
================

[](#crazyssl-php-sdk)

CrazySSL 和 Trustocean 的 PHP SDK

版本适配
----

[](#版本适配)

- [![php5.6+.svg](https://camo.githubusercontent.com/8377eaaa082ca67d09bcf23b28a4f613a3af453cdd52ba7633298f32b4860897/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d352e362b2d3463312e737667)](https://camo.githubusercontent.com/8377eaaa082ca67d09bcf23b28a4f613a3af453cdd52ba7633298f32b4860897/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d352e362b2d3463312e737667)
- [![laravel5.0+.svg](https://camo.githubusercontent.com/f003b6b8581c7413bfd3cc0f7295e597229133b5c2b1c92dd09c6e2f64e90a3c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e302b2d3463312e737667)](https://camo.githubusercontent.com/f003b6b8581c7413bfd3cc0f7295e597229133b5c2b1c92dd09c6e2f64e90a3c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e302b2d3463312e737667)

单元测试
----

[](#单元测试)

- [![](https://camo.githubusercontent.com/143d1fd1156ca55ed08c4b37d3adf6010011a4489df9e02d2d44f33b311c683b/68747470733a2f2f6170692e7472617669732d63692e6f72672f6372617a7973736c2f73646b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/crazyssl/sdk)

优势
--

[](#优势)

- composer 安装
- psr-4 自动加载, 不拖累项目速度
- 补全支持更友好 [![image](https://user-images.githubusercontent.com/6964962/63114609-dede0480-bfc7-11e9-9d4f-a5694d5ee3ab.png)](https://user-images.githubusercontent.com/6964962/63114609-dede0480-bfc7-11e9-9d4f-a5694d5ee3ab.png)

安装
--

[](#安装)

```
composer require crazyssl/sdk
```

使用
--

[](#使用)

**非 Laravel项目中**

```
use Crazyssl\Client as Crazyssl;

$sdk = new Crazyssl('你的 API 用户名', '你的 API 秘钥', 'https://api.trustocean.com/ssl/v3'); #如果你是crazyssl开发者的话, 第三个参数可以不传
$list = $sdk->product->getProductList();
print_r($list);
```

**Laravel项目中**.env

```
TRUSTOCEAN_USERNAME=邮箱
TRUSTOCEAN_PASSWORD=API_TOKEN

TRUSTOCEAN_PASSWORD=https://api.trustocean.com/ssl/v3 #只有当你使用trustocean时有必要，crazyssl请不要添加此配置
```

如果你laravel &lt; 5.5，还需要修改 `config/app.php` 中的 `providers`

```
    'providers' => [
        Crazyssl\LaravelServiceProvider::class,
    ],
```

在代码中使用

```
/**
 * @var \Crazyssl\Client $sdk
 */
$sdk = app('trustocean');
print_r($sdk->product->getProductList());
```

授权
--

[](#授权)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Total

18

Last Release

2263d ago

Major Versions

v0.0.8 → v3.0.12019-08-29

v3.0.7 → v5.x-dev2019-09-17

v3.1.0 → v5.0.22020-02-21

v3.x-dev → v5.0.62020-03-03

### Community

Maintainers

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

---

Top Contributors

[![xiaohuilam](https://avatars.githubusercontent.com/u/6964962?v=4)](https://github.com/xiaohuilam "xiaohuilam (45 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/crazyssl-sdk/health.svg)

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

###  Alternatives

[illuminate/cookie

The Illuminate Cookie package.

224.3M122](/packages/illuminate-cookie)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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