2017 © Pedro Peláez
 

library prospect

Library for making HTTP requests

image

versionable/prospect

Library for making HTTP requests

  • Friday, November 14, 2014
  • by haswalt
  • Repository
  • 3 Watchers
  • 9 Stars
  • 972 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Prospect

README

What is Prospect?

Prospect is a fully featured PHP 5.3 HTTP compliant client library., (*1)

It has object orientated API making it easy to construct both simple and more complicated requests., (*2)

The library supports such features as cookies, headers and files., (*3)

Features supported out of the box:, (*4)

  • Highly tested code base
  • Object orientated API
  • Ability to send HTTP headers
  • Cookies
  • Files

Requirements

  • PHP 5.3.x
  • Curl (optional)

Usage

Performing a simple get request, (*5)

    include 'src/Versionable/Prospect/Request/Request.php';
    include 'src/Versionable/Prospect/Url/Url.php';
    include 'src/Versionable/Prospect/Adapter/Curl.php';
    include 'src/Versionable/Prospect/Client/Client.php';
    include 'src/Versionable/Prospect/Response/Response.php';

    use \Versionable\Prospect\Request\Request;
    use \Versionable\Prospect\Url\Url;
    use \Versionable\Prospect\Adapter\Curl;
    use \Versionable\Prospect\Client\Client;
    use \Versionable\Prospect\Response\Response;

    $request = new Request(new Url('http://versionable.co.uk/'));
    $client = new Client(new Curl());

    $response = $client->send($request, new Response());

The Versions

14/11 2014

dev-master

9999999-dev http://versionable.co.uk/projects/prospect

Library for making HTTP requests

  Sources   Download

MIT

The Requires

 

by Stuart Lowes

curl http sockets prospect

14/11 2014

1.0.2

1.0.2.0 http://versionable.co.uk/projects/prospect

Library for making HTTP requests

  Sources   Download

MIT

The Requires

 

by Stuart Lowes

curl http sockets prospect

12/09 2012

1.0.1

1.0.1.0 http://versionable.co.uk/projects/prospect

Library for making HTTP requests

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stuart Lowes

curl http sockets prospect

12/09 2012

1.0.0

1.0.0.0 http://versionable.co.uk/projects/prospect

Library for making HTTP requests

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stuart Lowes

curl http sockets prospect