kelunik/acme
is a non-blocking implementation of the ACME protocol based on the amp
concurrency framework.
Note: If you're looking for a PHP client, have a look at https://github.com/kelunik/acme-client which is based on this library.
Required PHP Version
- PHP 5.5
Installation
composer require kelunik/acme
Usage
To interact with this library, you mainly have to use Kelunik\Acme\AcmeService
and pass a Kelunik\Acme\AcmeAdapter
object. There's an implementation for amphp/aerys
which you can look at: kelunik/aerys-acme
.
If you're not familiar with promises and amp
yet, read the blog post to get started. You can always use Amp\wait
to simply use async libraries in a blocking world.