PHPackages                             fanout/grip - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fanout/grip

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fanout/grip
===========

Grip library for PHP

v1.1.0(2y ago)318.8k↓32.7%1[1 PRs](https://github.com/fanout/php-grip/pulls)1MITPHPPHP &gt;=7.2

Since Aug 8Pushed 2y ago5 watchersCompare

[ Source](https://github.com/fanout/php-grip)[ Packagist](https://packagist.org/packages/fanout/grip)[ RSS](/packages/fanout-grip/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (7)Used By (1)

GRIP Library for PHP
====================

[](#grip-library-for-php)

A GRIP interface library for PHP. For use with HTTP reverse proxy servers that support the GRIP interface, such as Pushpin.

Supported GRIP servers include:

- [Pushpin](http://pushpin.org/)
- [Fastly Fanout](https://docs.fastly.com/products/fanout)

This library also supports legacy services hosted by [Fanout](https://fanout.io/) Cloud.

Authors: Katsuyuki Omuro , Madeline Boby

New for 1.1.0
-------------

[](#new-for-110)

- Support for `verify_iss` and `verify_key` GRIP configurations and parsing them from GRIP\_URLs.
- Support for Bearer tokens, using the new `Fanout\Grip\Auth\BearerAuth` class.
    - Use a Bearer token by using a GRIP configuration with `key`, but without a `control_iss`. This can also be parsed from `GRIP_URL` that have a `key` without an `iss`.
- Updated with full support for Fastly Fanout.

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

[](#requirements)

`php-grip` uses Guzzle 7 to make HTTP requests, so it has the same requirements as Guzzle.

1. PHP 7.2.5
2. You must have a recent version of cURL &gt;= 7.19.4 compiled with OpenSSL and zlib.

Installation
------------

[](#installation)

At the current moment the only supported installation uses Composer.

```
    composer install fanout/grip

```

Past versions
-------------

[](#past-versions)

This is a replacement for `fanout/php-pubcontrol` and `fanout/php-gripcontrol`. This library no longer uses pthreads for managing asynchronous requests.

Example
-------

[](#example)

For an HTTP Stream publishing example, see README.md in the `examples/http-stream` directory.

For a WS-over-HTTP example, see README.md in the `examples/ws-over-http` directory.

Testing
-------

[](#testing)

Run tests using the following command:

```
./vendor/bin/phpunit

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86% 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 ~286 days

Total

4

Last Release

932d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1396801?v=4)[Katsuyuki Omuro](/maintainers/harmony7)[@harmony7](https://github.com/harmony7)

---

Top Contributors

[![harmony7](https://avatars.githubusercontent.com/u/1396801?v=4)](https://github.com/harmony7 "harmony7 (49 commits)")[![madeline-pratt](https://avatars.githubusercontent.com/u/1060455?v=4)](https://github.com/madeline-pratt "madeline-pratt (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fanout-grip/health.svg)

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

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[firefly-iii/data-importer

Firefly III Data Import Tool.

8045.8k](/packages/firefly-iii-data-importer)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[mynaparrot/plugnmeet-sdk

plugNmeet PHP SDK

102.8k](/packages/mynaparrot-plugnmeet-sdk)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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