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. fanout/grip

ActiveLibrary

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

Grip library for PHP

v1.1.0(2y ago)312.8k—5.8%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 1mo 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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity50

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

886d 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

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[civicrm/civicrm-core

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

728272.9k20](/packages/civicrm-civicrm-core)[opentok/opentok

OpenTok is a platform for creating real time streaming video applications, created by TokBox.

1413.0M10](/packages/opentok-opentok)[pusher/pusher-push-notifications

562.5M9](/packages/pusher-pusher-push-notifications)

PHPackages © 2026

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