PHP code example of wisdech / laravel-encrypt

1. Go to this page and download the library: Download wisdech/laravel-encrypt library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wisdech / laravel-encrypt example snippets


//使用Facade
use Wisdech\LetsEncrypt\Facade\LetsEncrypt

LetsEncrypt::createOrder('domain')

$le=new Wisdech\LetsEncrypt\LetsEncrypt('email')

$le->createOrder('domain')
bash
#发布配置文件
php artisan vendor:publish --tag=lets-encrypt-config