smt / buzz-realmed-curl-client
BuzzBrowser curl client with support for http-realm authentication
Installs: 98
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/smt/buzz-realmed-curl-client
Requires
- php: >=5.5
- kriswallsmith/buzz: 0.*
This package is not auto-updated.
Last update: 2025-10-01 14:16:55 UTC
README
Buzz Browser curl client with support for http-realm authentication.
Installation
composer require smt/buzz-realmed-curl-client
That's it!
Usage
<?php
use Smt\Buzz\Client\RealmedCurlClient;
use Buzz\Browser;
$client = new RealmedCurlClient('username', 'password');
$client->setAuthenticationMethod(RealmedCurlClient::AUTH_NTLM);
$browser = new Browser($client);
$browser->get(/* ... */);
Available authentication methods:
RealmedCurlClient::AUTH_ANY
- cURL "any" authentication method;RealmedCurlClient::AUTH_BASIC
- Basic authentication method;RealmedCurlClient::AUTH_NTLM
- NTLM authentication method;RealmedCurlClient::AUTH_DIGEST
- Digest authentication method;RealmedCurlClient::AUTH_NEGOTIATE
- Negotiate authentication method;
For more see Buzz Browser