PHPackages                             axguowen/freessl-sdk-php - 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. axguowen/freessl-sdk-php

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

axguowen/freessl-sdk-php
========================

FreeSSL SDK for PHP

v1.0.0(3y ago)032Apache-2.0PHPPHP &gt;=5.6.0

Since Apr 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/axguowen/freessl-sdk-php)[ Packagist](https://packagist.org/packages/axguowen/freessl-sdk-php)[ RSS](/packages/axguowen-freessl-sdk-php/feed)WikiDiscussions master Synced 1mo ago

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

FreeSSL SDK for PHP
===================

[](#freessl-sdk-for-php)

一个基于PHP的FreeSSL SDK

安装
--

[](#安装)

```
composer require axguowen/freessl-sdk-php

```

用法示例
----

[](#用法示例)

创建证书申请订单

```
use axguowen\FreeSSL;

// 配置
$config = [
    'access_key' => '********'
];
// 实例化
$freeSSL = new \axguowen\FreeSSL($config);

// 创建证书申请订单
$createCertificate = $freeSSL->createCertificate('xxx.example.com');

// 创建失败
if(is_null($createCertificate[0])){
    throw new \Exception($createCertificate[1]);
}
// 证书申请订单信息
var_dump($createCertificate[0]);

// 获取私钥
$privateKey = $freeSSL->getPrivateKey();
var_dump($privateKey);
```

验证域名

```
use axguowen\FreeSSL;

// 配置
$config = [
    'access_key' => '********'
];
// 实例化
$freeSSL = new \axguowen\FreeSSL($config);

// 验证域名
$verifyDomains = $freeSSL->verifyDomains($domainRow['freessl_id']);
// 创建失败
if(is_null($verifyDomains[0])){
    throw new \Exception($verifyDomains[1]);
}
// 证书申请订单信息
var_dump($verifyDomains[0]);
```

更多功能请查看FreeSSL类源码

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

1121d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5bb2b3388238042a25cf42dc44e5ff84adc241510354abae9e91573556753205?d=identicon)[axguowen](/maintainers/axguowen)

---

Top Contributors

[![axguowen](https://avatars.githubusercontent.com/u/61955804?v=4)](https://github.com/axguowen "axguowen (2 commits)")

---

Tags

phpsdkfreessl

### Embed Badge

![Health badge](/badges/axguowen-freessl-sdk-php/health.svg)

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

PHPackages © 2026

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