Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saksmt/buzz-realmed-curl-client

BuzzBrowser curl client with support for http-realm authentication
https://github.com/saksmt/buzz-realmed-curl-client

Last synced: about 2 months ago
JSON representation

BuzzBrowser curl client with support for http-realm authentication

Awesome Lists containing this project

README

        

smt/buzz-realmed-curl-client
============================

[Buzz Browser](http://github.com/kriswallsmith/buzz) curl client with support for http-realm authentication.

Installation
------------

composer require smt/buzz-realmed-curl-client

That's it!

Usage
-----

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](http://github.com/kriswallsmith/buzz)