Skip to content

drjamesj/cloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloak, a low-level HTTP and TLS 1.3 Client in PHP

WIP

Cloak is a pure PHP HTTP and TLS client that allows for low-level control over HTTP and TLS fingerprints.

Installing Cloak

composer require exe/cloak

Usage

use Cloak\Http\Client;

$client = new Client(); // Initialises a HTTP/1.1 client by default

$response = $client->get('https://tls.peet.ws/api/all');

echo $response->getStatus(); // 200
echo $response->getHeader('content-type'); // application/json; charset=utf-8
echo $response->getBody(); // '{...}'

Roadmap

  • HTTP/1.1 implementation
  • HTTP/2 implementation
  • Browser profiles

Resources

About

Low-level HTTP client with TLS 1.3 and HTTP fingerprint control - in pure PHP.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages