acmeproxy-php / acmeproxy-php-hostingde
There is no license information available for the latest version (0.3) of this package.
0.3
2021-01-02 16:01 UTC
Requires
- acmeproxy-php/acmeproxy-php-common: 9999999-dev
- hostingde/api-php: 9999999-dev
This package is auto-updated.
Last update: 2024-05-29 04:48:49 UTC
README
Package for ACME PHP Proxy acmeproxy-php/acmeproxy-php
Installation
ACME PHP Proxy is installed via Composer.
First you need to add the hosting.de Repository
// composer.json
"repositories": [
{
"url": "https://github.com/hosting-de-labs/hostingde-api-php.git",
"type": "git"
}
]
After that you can install this package by composer
composer require acmeproxy-php/acmeproxy-php-hostingde
Usage
$api = new \acme\hostingde\Hostingde([
"apiKey" => "ABC123"
]);
// Add TXT Record with Content of "abc123"
$api->present("_acme-challenge.example.org", "abc123");
// Remove TXT Record with Content of "abc123"
$api->cleanUp("_acme-challenge.example.org", "abc123");
Server
If you want a complete server based on Laravel Lumen look at acmeproxy-php/acmeproxy-php
// /config/acme.php
"domains" => [
"example.org" => "hostingde"
],
"providers" => [
"hostingde" => [
"apiKey" => "abc123"
]
],