PHP code example of darkin1 / digest-auth
1. Go to this page and download the library: Download darkin1/digest-auth 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/ */
darkin1 / digest-auth example snippets
Darkin1\DigestAuth\DigestAuthServiceProvider::class,
return [
'realm' => env('DIGEST_REALM', '****'),
'user' => env('DIGEST_USER', '****'),
'password' => env('DIGEST_PASS', '****'),
'driver' => env('DIGEST_DRIVER', 'env'),
];