mirror of
https://github.com/anikeen-com/yaac.git
synced 2026-03-19 00:26:14 +00:00
Updated the namespace to Acme
This commit is contained in:
@@ -44,7 +44,7 @@ decide whether you want to issue `Fake LE Intermediate X1` (staging: `MODE_STAGI
|
|||||||
```php
|
```php
|
||||||
use League\Flysystem\Filesystem;
|
use League\Flysystem\Filesystem;
|
||||||
use League\Flysystem\Adapter\Local;
|
use League\Flysystem\Adapter\Local;
|
||||||
use Afosto\LetsEncrypt\Client;
|
use Afosto\Acme\Client;
|
||||||
|
|
||||||
//Prepare flysystem
|
//Prepare flysystem
|
||||||
$adapter = new Local('data');
|
$adapter = new Local('data');
|
||||||
|
|||||||
@@ -20,11 +20,13 @@
|
|||||||
],
|
],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Afosto\\LetsEncrypt\\": "./src"
|
"Afosto\\Acme\\": "./src"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"guzzlehttp/guzzle": "^6.3",
|
"guzzlehttp/guzzle": "^6.3",
|
||||||
"league/flysystem": "^1.0"
|
"league/flysystem": "^1.0",
|
||||||
|
"ext-openssl": "*",
|
||||||
|
"ext-json": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
7
composer.lock
generated
7
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "11a6068373f0fe8d54154f4905027ef6",
|
"content-hash": "9907ae85a5df2a96cb9a3c7b542c37c2",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "guzzlehttp/guzzle",
|
"name": "guzzlehttp/guzzle",
|
||||||
@@ -376,6 +376,9 @@
|
|||||||
"stability-flags": [],
|
"stability-flags": [],
|
||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": [],
|
"platform": {
|
||||||
|
"ext-openssl": "*",
|
||||||
|
"ext-json": "*"
|
||||||
|
},
|
||||||
"platform-dev": []
|
"platform-dev": []
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Afosto\LetsEncrypt;
|
namespace Afosto\Acme;
|
||||||
|
|
||||||
use Afosto\LetsEncrypt\Data\Account;
|
use Afosto\Acme\Data\Account;
|
||||||
use Afosto\LetsEncrypt\Data\Authorization;
|
use Afosto\Acme\Data\Authorization;
|
||||||
use Afosto\LetsEncrypt\Data\Certificate;
|
use Afosto\Acme\Data\Certificate;
|
||||||
use Afosto\LetsEncrypt\Data\Challenge;
|
use Afosto\Acme\Data\Challenge;
|
||||||
use Afosto\LetsEncrypt\Data\Order;
|
use Afosto\Acme\Data\Order;
|
||||||
use GuzzleHttp\Client as HttpClient;
|
use GuzzleHttp\Client as HttpClient;
|
||||||
use GuzzleHttp\Exception\ClientException;
|
use GuzzleHttp\Exception\ClientException;
|
||||||
use League\Flysystem\Filesystem;
|
use League\Flysystem\Filesystem;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Afosto\LetsEncrypt\Data;
|
namespace Afosto\Acme\Data;
|
||||||
|
|
||||||
class Account
|
class Account
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Afosto\LetsEncrypt\Data;
|
namespace Afosto\Acme\Data;
|
||||||
|
|
||||||
use Afosto\LetsEncrypt\Client;
|
use Afosto\Acme\Client;
|
||||||
|
|
||||||
class Authorization
|
class Authorization
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Afosto\LetsEncrypt\Data;
|
namespace Afosto\Acme\Data;
|
||||||
|
|
||||||
use Afosto\LetsEncrypt\Helper;
|
use Afosto\Acme\Helper;
|
||||||
|
|
||||||
class Certificate
|
class Certificate
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Afosto\LetsEncrypt\Data;
|
namespace Afosto\Acme\Data;
|
||||||
|
|
||||||
class Challenge
|
class Challenge
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Afosto\LetsEncrypt\Data;
|
namespace Afosto\Acme\Data;
|
||||||
|
|
||||||
class File
|
class File
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
namespace Afosto\LetsEncrypt\Data;
|
namespace Afosto\Acme\Data;
|
||||||
|
|
||||||
class Order
|
class Order
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Afosto\LetsEncrypt;
|
namespace Afosto\Acme;
|
||||||
|
|
||||||
use Afosto\LetsEncrypt\Data\Authorization;
|
use Afosto\Acme\Data\Authorization;
|
||||||
use GuzzleHttp\Client as HttpClient;
|
use GuzzleHttp\Client as HttpClient;
|
||||||
use GuzzleHttp\Exception\ClientException;
|
use GuzzleHttp\Exception\ClientException;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user