PHPackages                             versionable/prospect - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. versionable/prospect

ActiveLibrary[HTTP &amp; Networking](/categories/http)

versionable/prospect
====================

Library for making HTTP requests

1.0.2(11y ago)101.0k5MITPHPPHP &gt;=5.3.0

Since Sep 12Pushed 11y ago3 watchersCompare

[ Source](https://github.com/versionable/Prospect)[ Packagist](https://packagist.org/packages/versionable/prospect)[ Docs](http://versionable.co.uk/projects/prospect)[ RSS](/packages/versionable-prospect/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Prospect
========

[](#prospect)

README
======

[](#readme)

What is Prospect?
-----------------

[](#what-is-prospect)

Prospect is a fully featured PHP 5.3 HTTP compliant client library.

It has object orientated API making it easy to construct both simple and more complicated requests.

The library supports such features as cookies, headers and files.

Features supported out of the box:

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

Requirements
------------

[](#requirements)

- PHP 5.3.x
- Curl (optional)

Usage
-----

[](#usage)

Performing a simple get request

```
    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());
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 53% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~396 days

Total

3

Last Release

4200d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12cf0da4753a3df370dc9175bff5e188add5640cb1df8cca3b3e4c59af721fca?d=identicon)[haswalt](/maintainers/haswalt)

![](https://www.gravatar.com/avatar/c8b2199c138326394c459335610bf9b0b4f921af718a4ff9f27dd0349ec74dfa?d=identicon)[stunami](/maintainers/stunami)

---

Top Contributors

[![stunami](https://avatars.githubusercontent.com/u/206316?v=4)](https://github.com/stunami "stunami (79 commits)")[![haswalt](https://avatars.githubusercontent.com/u/338588?v=4)](https://github.com/haswalt "haswalt (64 commits)")[![stuartlowes](https://avatars.githubusercontent.com/u/738816?v=4)](https://github.com/stuartlowes "stuartlowes (2 commits)")[![ukwm-deploy](https://avatars.githubusercontent.com/u/9462642?v=4)](https://github.com/ukwm-deploy "ukwm-deploy (1 commits)")[![jeremyFreeAgent](https://avatars.githubusercontent.com/u/176363?v=4)](https://github.com/jeremyFreeAgent "jeremyFreeAgent (1 commits)")[![jamhall](https://avatars.githubusercontent.com/u/368589?v=4)](https://github.com/jamhall "jamhall (1 commits)")[![cannibal](https://avatars.githubusercontent.com/u/1590620?v=4)](https://github.com/cannibal "cannibal (1 commits)")

---

Tags

httpcurlsocketsprospect

### Embed Badge

![Health badge](/badges/versionable-prospect/health.svg)

```
[![Health](https://phpackages.com/badges/versionable-prospect/health.svg)](https://phpackages.com/packages/versionable-prospect)
```

###  Alternatives

[rmccue/requests

A HTTP library written in PHP, for human beings.

3.6k34.5M258](/packages/rmccue-requests)[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.2M267](/packages/nategood-httpful)[mashape/unirest-php

Unirest PHP

1.3k9.7M161](/packages/mashape-unirest-php)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48247.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

83510.1M71](/packages/smi2-phpclickhouse)[pear/http_request2

Provides an easy way to perform HTTP requests.

764.2M48](/packages/pear-http-request2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
