wisdech / laravel-encrypt
Let's Encrypt 证书申请 Laravel 实现 (Acme)
v1.2.0
2024-10-15 06:33 UTC
Requires
- php: ^8.2
- acmephp/core: ^2.1
- illuminate/console: ^11.27
- illuminate/support: ^11.27
README
安装使用
#添加依赖
composer require wisdech/laravel-encrypt
Laravel项目中
#发布配置文件
php artisan vendor:publish --tag=lets-encrypt-config
#在.env文件填写配置信息 LETS_ENCRYPT_EMAIL=
//使用Facade use Wisdech\LetsEncrypt\Facade\LetsEncrypt LetsEncrypt::createOrder('domain')
不使用Facade
$le=new Wisdech\LetsEncrypt\LetsEncrypt('email') $le->createOrder('domain')