PHPackages                             henderjon/gooseberry - 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. henderjon/gooseberry

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

henderjon/gooseberry
====================

a simple (perhaps too simple) PHP cURL utiltiy built to aid in connecting to an API

06PHP

Since Apr 9Pushed 11y ago1 watchersCompare

[ Source](https://github.com/henderjon/gooseberry)[ Packagist](https://packagist.org/packages/henderjon/gooseberry)[ RSS](/packages/henderjon-gooseberry/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Gooseberry
==========

[](#gooseberry)

Gooseberry is a simple utility to make http calls. It's designed to be used for easily accessing simple APIs.

Usage
=====

[](#usage)

You're best bet is to check the tests/examples to see usage, as I'm awful at documentation.

Installation
============

[](#installation)

Install the [Packagist archive](https://packagist.org/packages/henderjon/gooseberry)using [Composer](http://getcomposer.org/). I will *generally* respect [Semantic Versioning](http://semver.org/). Learn about how Composer does [versions](https://getcomposer.org/doc/01-basic-usage.md#package-versions).

*Note the absense of v1.0*

```
{
	"require" : {
		"henderjon/gooseberry": "dev-master"
	}
}

```

License
=======

[](#license)

See LICENSE.md for the [BSD-3-Clause](http://opensource.org/licenses/BSD-3-Clause) license.

TODO
====

[](#todo)

I'd like to implement a way for users to add various auth methods either by trait or by lambda. This would allow Gooseberry's use with APIs that use more complex authentication.

Right now there is no recovery from error (either cURL or HTTP). This is by design, however there are APIs that are simply so unreliable that having a retry loop or a sleep() call wouldn't hurt. I need to make some decisions in this regard.

I think file uploads, while not necessary for my purposes, would be useful--but that would end up being ALOT of code for something I don't do very often. [See example](http://www.daniweb.com/web-development/php/threads/370401/multiple-file-upload-problem-using-stream_context_create-function).

[![Build Status](https://camo.githubusercontent.com/653edda544b42a6c6dda39d3ea61ae3ed67928875c9f69884051a184555550a1/68747470733a2f2f7472617669732d63692e6f72672f68656e6465726a6f6e2f676f6f736562657272792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/henderjon/gooseberry)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/15bb251b7550dc9a7ee1a7642fd6c4534f72797a17b3c913e9a15a4462979612?d=identicon)[henderjon](/maintainers/henderjon)

---

Top Contributors

[![henderjon](https://avatars.githubusercontent.com/u/114275?v=4)](https://github.com/henderjon "henderjon (11 commits)")

### Embed Badge

![Health badge](/badges/henderjon-gooseberry/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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