Download the PHP package infinityfree/acmecore without Composer
On this page you can find all versions of the php package infinityfree/acmecore. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download infinityfree/acmecore
More information about infinityfree/acmecore
Files in infinityfree/acmecore
Package acmecore
Short Description Raw implementation of the ACME protocol in PHP
License MIT
Homepage https://github.com/InfinityFreeHosting/acmecore
Informations about the package acmecore
AcmeCore PHP Library
AcmeCore is a modified version of the Acme PHP Core library.
When to use AcmeCore
AcmeCore is designed as a straight forward implementation of the Let's Encrypt/ACME protocol following best practices for libraries. There are no file system dependencies, integrated schedulers or anything like that. You can integrate it in your own project and take care of scheduling and persistence yourself.
Differences with Acme PHP Core
Acme PHP Core is a great library, but assumes that the "happy path" always works. I.e. the CA never returns an error, performs all tasks quickly, and always returns the expected data. With Let's Encrypt this is generally true, but other CAs might be less stable.
The key differences between this library and Acme PHP Core are the following:
- Every function on
AcmeClient
maps to a single step in the ACME process. This way, you're free to call and retry the steps at your own pace (e.g. retrying receiving a certificate without calling finalize again). - No more sleep loops. Schedule tasks the way you want, and don't hog a PHP process if you don't want to.
CertificateOrder
s now contain the status of the order. Load the order with thereloadOrder
function, see the current status of the order and choose the next step to apply.
Documentation
The official Acme PHP documentation still applies for the most part. But the certificate issuance process has been changed a bit.
Launch the Test suite
The Acme PHP test suite is located in the main repository: https://github.com/acmephp/acmephp#launch-the-test-suite.
All versions of acmecore with dependencies
ext-hash Version *
ext-json Version *
ext-openssl Version *
acmephp/ssl Version ^2.0
guzzlehttp/guzzle Version ^6.0|^7.0
guzzlehttp/psr7 Version ^1.7|^2.1
lcobucci/jwt Version ^3.3|^4.0
psr/http-message Version ^1.0
psr/log Version ^1.0|^2.0|^3.0
webmozart/assert Version ^1.0