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 2w ago

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 13% 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

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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