PHPackages                             trustocean/acme-client - 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. [CLI &amp; Console](/categories/cli)
4. /
5. trustocean/acme-client

ActiveProject[CLI &amp; Console](/categories/cli)

trustocean/acme-client
======================

ACME client written in PHP

1.1.2(6y ago)2931[9 issues](https://github.com/digitalsign/acme-client/issues)[3 PRs](https://github.com/digitalsign/acme-client/pulls)MITPHPPHP &gt;=5.5.9

Since Nov 4Pushed 1y ago2 watchersCompare

[ Source](https://github.com/digitalsign/acme-client)[ Packagist](https://packagist.org/packages/trustocean/acme-client)[ Docs](https://github.com/acmephp/acmephp)[ RSS](/packages/trustocean-acme-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (26)Versions (18)Used By (0)

Acme PHP
========

[](#acme-php)

[![Build Status](https://camo.githubusercontent.com/954f59585f45e54332360d2712313f4583bb2da33fea69272a2693e80c0369e6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f61636d657068702f61636d657068702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/acmephp/acmephp)[![StyleCI](https://camo.githubusercontent.com/37853bde49e35a0b0c76c0e416faa8807cebbbaf37bc7969bc928c295ff8b4e7/68747470733a2f2f7374796c6563692e696f2f7265706f732f35393931303439302f736869656c64)](https://styleci.io/repos/59910490)[![Packagist Version](https://camo.githubusercontent.com/756be0df93674fc6fb87a962bd96ddd8a6fce369ef6ffad0482b935736db2843/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61636d657068702f61636d657068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/acmephp/acmephp)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

[![SymfonyInsight](https://camo.githubusercontent.com/200d99f78a12cf3b2f332238987623c69e3780549ab80f60e5cc403dcceb9a5f/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f34656231323162662d396639642d346431362d383133622d6639386630373030336561662f6269672e737667)](https://insight.symfony.com/projects/4eb121bf-9f9d-4d16-813b-f98f07003eaf)

Acme PHP is a simple yet very extensible CLI client for Let's Encrypt that will help you get and renew free HTTPS certificates.

Acme PHP is also an initiative to bring a robust, stable and powerful implementation of the ACME protocol in PHP. Using the Acme PHP library and core components, you will be able to deeply integrate the management of your certificates directly in your application (for instance, renew your certificates from your web interface). If you are interested by these features, have a look at the [acmephp/core](https://github.com/acmephp/core) and [acmephp/ssl](https://github.com/acmephp/ssl) libraries.

> If you want to chat with us or have questions, ping @tgalopin or @jderusse on the [Symfony Slack](https://symfony.com/support)!

Why should I use Acme PHP when I have an official client?
---------------------------------------------------------

[](#why-should-i-use-acme-php-when-i-have-an-official-client)

Acme PHP provides several major improvements over the default clients:

- Acme PHP comes by nature as a single binary file: a single download and you are ready to start working ;
- Acme PHP is based on a configuration file (`~/.acmephp/acmephp.conf`) instead command line arguments. Thus, the configuration is much more expressive and the same setup is used at every renewal ;
- Acme PHP can monitor your CRONs and can send you alerts in many differents places: E-mail, Slack, HipChat, Flowdock, Fleep (thanks to [Monolog](https://github.com/Seldaek/monolog)!)
- Acme PHP is very extensible it to create the certificate files structure you need for your webserver. It brings several default formatters to create classical file structures (nginx, nginx-proxy, haproxy, etc.) but you can very easily create your own if you need to ;
- Acme PHP follows a strict BC policy preventing errors in your scripts or CRON even if you update it (see [the Backward Compatibility policy of Acme PHP](#backward-compatibility-policy) for more informations) ;

Documentation
-------------

[](#documentation)

Read the official [Acme PHP documentation](https://acmephp.github.io).

Backward Compatibility policy
-----------------------------

[](#backward-compatibility-policy)

Acme PHP follows a strict BC policy by sticking carefully to [semantic versioning](http://semver.org). This means your scripts, your CRON tasks and your code will keep working properly even when you update Acme PHP (either the CLI tool or the library), as long as you keep the same major version (1.X.X, 2.X.X, etc.).

In addition of semantic versioning of stable versions for the CLI and the library, Acme PHP also follows certain rules **for the CLI only**:

- an alpha release can break BC with previous alpha releases of the same version (1.1.0-alpha2 can break BC with features introduced by 1.1.0-alpha1 but can't break BC with 1.0.0 features).
- a beta release cannot break BC with previous beta releases (1.1.0-beta4 have to be BC with 1.1.0-beta3, 1.1.0-beta2, 1.1.0-beta1 and 1.0.0). New features can be added in beta as long as they don't break BC.

Launch the Test suite
---------------------

[](#launch-the-test-suite)

The Acme PHP test suite uses the Docker Boulder image to create an ACME server. To launch the test suite, you need to setup the proper Docker environment for the suite. Useful scripts are available under the `tests` directory: in the Acme PHP root directory, execute the following:

```
# Create the Docker environment required for the suite
sudo tests/setup.sh

# Run the tests
tests/run.sh

# Clean the docker environment
tests/teardown.sh

```

**Note**: you may have boulder errors sometimes in tests. Simply ignore them and rerun the suite, they are due to an issue in the container DNS.

**Warning**: as the acmephp/testing-ca Docker image needs to be mapped to the host network, you may have ports conflicts. See for more informations.

Run command
-----------

[](#run-command)

The run command is an all in one command who works with a `domain`config file like

```
contact_email: contact@company
key_type: RSA                                          # RSA or EC (for ECDSA). Default "RSA"

defaults:
  distinguished_name:
      country: FR
      locality: Paris
      organization_name: MyCompany
  solver: http

certificates:
  - domain: example.com
    distinguished_name:
      organization_name: MyCompany Internal
    solver: route53
    subject_alternative_names:
      - '*.example.com'
      - www.subdomain.example.com
    install:
      - action: install_aws_elb
        region: eu-west-1
        loadbalancer: my_elb
  - domain: www.example.com
    solver:
      name: http-file
      adapter: ftp                                     # ftp or sftp or local, see https://flysystem.thephpleague.com/
      root: /var/www/
      host: ftp.example.com
      username: username
      password: password
      # port: 21
      # passive: true
      # ssl: true
      # timeout: 30
      # privateKey: path/to/or/contents/of/privatekey
```

usage

```
$ acmephp run path-to-config.yml
```

Using docker
------------

[](#using-docker)

You can also use the docker image to generate certificates. Certificates and keys are stored into the volume `/root/.acmephp`

```
docker run --rm -ti -v /cache/.acmephp:/root/.acmephp -v $PWD/.config.yml:/etc/acmephp.yml:ro acmephp/acmephp:latest run /etc/acmephp.yml

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

2476d ago

### 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 (150 commits)")[![jderusse](https://avatars.githubusercontent.com/u/578547?v=4)](https://github.com/jderusse "jderusse (109 commits)")[![tgalopin](https://avatars.githubusercontent.com/u/1651494?v=4)](https://github.com/tgalopin "tgalopin (100 commits)")[![benjilevens](https://avatars.githubusercontent.com/u/37897020?v=4)](https://github.com/benjilevens "benjilevens (4 commits)")[![elliotfehr](https://avatars.githubusercontent.com/u/5550991?v=4)](https://github.com/elliotfehr "elliotfehr (4 commits)")[![jankal](https://avatars.githubusercontent.com/u/6324332?v=4)](https://github.com/jankal "jankal (4 commits)")[![kirtangajjar](https://avatars.githubusercontent.com/u/8456197?v=4)](https://github.com/kirtangajjar "kirtangajjar (3 commits)")[![bpolaszek](https://avatars.githubusercontent.com/u/5569077?v=4)](https://github.com/bpolaszek "bpolaszek (2 commits)")[![REWAlexMcKinnon](https://avatars.githubusercontent.com/u/9615318?v=4)](https://github.com/REWAlexMcKinnon "REWAlexMcKinnon (1 commits)")[![riddl](https://avatars.githubusercontent.com/u/1677584?v=4)](https://github.com/riddl "riddl (1 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")[![ScullWM](https://avatars.githubusercontent.com/u/1017746?v=4)](https://github.com/ScullWM "ScullWM (1 commits)")[![Sh1nto](https://avatars.githubusercontent.com/u/10619616?v=4)](https://github.com/Sh1nto "Sh1nto (1 commits)")[![erickpatrick](https://avatars.githubusercontent.com/u/396013?v=4)](https://github.com/erickpatrick "erickpatrick (1 commits)")[![rokclimb15](https://avatars.githubusercontent.com/u/583271?v=4)](https://github.com/rokclimb15 "rokclimb15 (1 commits)")[![pauladams8](https://avatars.githubusercontent.com/u/37362614?v=4)](https://github.com/pauladams8 "pauladams8 (1 commits)")

---

Tags

acmephprfc8555httpscliencryptionrsax509certificatecsropensslsslECDSAacmephpletsencryptACME

### Embed Badge

![Health badge](/badges/trustocean-acme-client/health.svg)

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

###  Alternatives

[acmephp/acmephp

Let's Encrypt client written in PHP

649155.1k](/packages/acmephp-acmephp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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