Skip to content

saksmt/buzz-realmed-curl-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

smt/buzz-realmed-curl-client

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

About

BuzzBrowser curl client with support for http-realm authentication

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages