glow / guzzler
This package is abandoned and no longer maintained.
No replacement package was suggested.
A simplied wrapper for HTTP libraries
1.9
2018-06-14 13:07 UTC
Requires
- guzzlehttp/psr7: ^1.4
- monolog/monolog: ^1.23
- php-http/client-common: ^1.7
- php-http/client-implementation: ^1.0
- php-http/discovery: ^1.4
- php-http/logger-plugin: ^1.0
- php-http/message: ^1.6
- webmozart/assert: ^1.3
Requires (Dev)
- php-http/buzz-adapter: ^1.0
- php-http/curl-client: ^1.7
- php-http/guzzle6-adapter: ^1.1
This package is not auto-updated.
Last update: 2018-06-14 13:08:14 UTC
README
A simple GET wrapper for Guzzle 5.3
Installing
The recommended way to install Glow\Guzzler is to use Composer.
composer require glow/guzzler
Example
<?php
$example_guzzler = new Glow\Guzzler\Guzzler;
$example_guzzler->setUserAgent('Some UA');
$example_guzzler->setRequestUrl('http://www.example.com');
//grab the contents
$example_guzzler->getResponseContents();
//grab the status code
$example_guzzler->getStatusCode();
Additional Information
To use this you will first need a client from: http://docs.php-http.org/en/latest/clients.html