PHPackages                             sam002/yii2-acme - 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. [Security](/categories/security)
4. /
5. sam002/yii2-acme

ActiveYii2-extension[Security](/categories/security)

sam002/yii2-acme
================

YII2 extension for certificate management using ACME (Automatic Certificate Management Environment)

0.1.3(9y ago)244LGPL-3.0PHP

Since Jul 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sam002/yii2-acme)[ Packagist](https://packagist.org/packages/sam002/yii2-acme)[ RSS](/packages/sam002-yii2-acme/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

yii2-acme
=========

[](#yii2-acme)

[![SensioLabsInsight](https://camo.githubusercontent.com/f57150c3eb0771e271135eac555134f69fb6309074626e0c453fdd92ea301989/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39646433656432342d373637382d343762342d613034392d3037643630306232393238622f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/9dd3ed24-7678-47b4-a049-07d600b2928b)

[![Codacy Badge](https://camo.githubusercontent.com/6a0d935eb76bfb32b0351c1b7753d44cb129a9a299c2ef4688df01dd870cda2b/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3766393630653539373861333435376438663630646564373533323138353430)](https://www.codacy.com/app/sam002/yii2-acme?utm_source=github.com&utm_medium=referral&utm_content=sam002/yii2-acme&utm_campaign=Badge_Grade)[![Code Climate](https://camo.githubusercontent.com/f6217912a2da726d22a4aa31ed52e113db2cfbb68058d660e50a97751b8ef5a6/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f73616d3030322f796969322d61636d652f6261646765732f6770612e737667)](https://codeclimate.com/github/sam002/yii2-acme)

[![Latest Version](https://camo.githubusercontent.com/0c068bcd497d595ca540b760413addd5fad17fd1f92e69e03d0cad6cea214c5e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f73616d3030322f796969322d61636d652e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c656173)](https://github.com/sam002/yii2-acme/tags)[![Software License](https://camo.githubusercontent.com/676198a84d2ac4a06f649c6765e3c3d2a9e8e6546d8d6676a6a33c1f6d08ff4b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4c47504c332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

YII2 extension for certificate management using ACME (Automatic Certificate Management Environment)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require sam002/yii2-acme:~0.1.2

```

or add

```
"sam002/yii2-acme" : "~0.1.2"
```

to the require section of your application's `composer.json` file.

Usage
-----

[](#usage)

After extension is installed you need to setup auth client collection application component:

**Configure**

Frontend (need to checked by certificate provider)

```
...
'module' => [
    //Catch all requests on .well-known
    '.well-known' => [
        'class' => 'sam002\acme\Acme',
        //optional
        'location' => realpath('../runtime/acme'),
        'providerUrl' => Acme::PROVIDERS['letsencrypt:production']
        'keyLength' => 2048,
        'keyStorage' => 'sam002\acme\storage\file\KeyStorageFile',
        'certificateStorage' => 'sam002\acme\storage\file\CertificateStorageFile'
        'challengeStorage' => 'sam002\acme\storage\file\ChallengeStorageFile'
    ],
    ...
]
```

Console task

```
...
'controllerMap' => [
    'acme' => [
        'class' => 'sam002\acme\console\AcmeController'
    ],
    ...
]
```

Further Information
-------------------

[](#further-information)

- [ACME](https://ietf-wg-acme.github.io/acme/)
- [ACME library](https://github.com/kelunik/acme)

Credits
-------

[](#credits)

- [sam002](https://github.com/sam002)
- [All Contributors](../../contributors)

License
-------

[](#license)

The LGPLv3 License. Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

4

Last Release

3531d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2215228?v=4)[sam002](/maintainers/sam002)[@sam002](https://github.com/sam002)

---

Top Contributors

[![sam002](https://avatars.githubusercontent.com/u/2215228?v=4)](https://github.com/sam002 "sam002 (35 commits)")

---

Tags

securitycertificatetlsyii2letsencryptACME

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sam002-yii2-acme/health.svg)

```
[![Health](https://phpackages.com/badges/sam002-yii2-acme/health.svg)](https://phpackages.com/packages/sam002-yii2-acme)
```

###  Alternatives

[kelunik/acme

ACME library written in PHP.

121609.1k3](/packages/kelunik-acme)[kelunik/acme-client

Let's Encrypt / ACME client written in PHP for the CLI.

3964.3k1](/packages/kelunik-acme-client)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[acmephp/core

Raw implementation of the ACME protocol in PHP

401.0M7](/packages/acmephp-core)[mlocati/ocsp

Library to query HTTPS Certificates revocation status using the Online Certificate Status Protocol (OCSP)

40773.8k2](/packages/mlocati-ocsp)[analogic/lescript

Lescript is simplified concept of ACME client implementation especially for Let's encrypt service. It's goal is to have one easy to use PHP file without dependencies.

22514.9k1](/packages/analogic-lescript)

PHPackages © 2026

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