PHPackages                             firewards/getrevue-php - 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. [API Development](/categories/api)
4. /
5. firewards/getrevue-php

ActiveLibrary[API Development](/categories/api)

firewards/getrevue-php
======================

Simple access interface to GetRevue's web API.

1.0.4(4y ago)4301MITPHPPHP &gt;=7.0

Since Dec 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Firewards/getrevue-php)[ Packagist](https://packagist.org/packages/firewards/getrevue-php)[ RSS](/packages/firewards-getrevue-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (6)Used By (0)

GetRevue PHP
============

[](#getrevue-php)

Unofficial GetRevue PHP API for [v2](https://www.getrevue.co/api).

This package makes it simple to access GetRevues's web API. Checkout  for more information on GetRevue's API.

[![Source Code](https://camo.githubusercontent.com/055537daadb661a5621be8e5ffc90025f36c7103c7e80b963d6437a806a4958e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d67657472657675652d2d7068702d626c7565)](https://github.com/Firewards/getrevue-php)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Firewards/getrevue-php/blob/master/LICENSE)

Install
-------

[](#install)

Via Composer

```
$ composer require firewards/getrevue-php
```

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

[](#requirements)

The following versions of PHP are supported.

- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 7.4

### API Key

[](#api-key)

All API calls require an API Key. You can find your API Key in the GetRevue Account page under the Integrations tab (scroll all the way down).

Usage
-----

[](#usage)

Start by using GetRevueAPI and creating an instance with your ConvertKit API key

```
$apiKey = "your-key-goes-here";
$api = new \Firewards\GetRevueApi($apiKey);
```

### Examples

[](#examples)

Add a new email to your list of subscribers.

```
$subscriber = $this->api->addSubscriber("getrevue@firewards.com", 'firstName', 'lastName');

/**
Return example:
array(6) {
  ["id"]=>
  int(42840832)
  ["list_id"]=>
  int(64471)
  ["email"]=>
  string(26) "test_8658431@firewards.com"
  ["first_name"]=>
  string(9) "firstName"
  ["last_name"]=>
  string(8) "lastName"
  ["last_changed"]=>
  string(24) "2020-12-24T02:21:26.333Z"
}
 */
```

Unsubscribe an existing subscriber by email. *Revue is not returning any success or failure codes.*

```
if ($api->unsubscribe("getrevue@firewards.com")) {
    // unsbuscribed
}
```

Get all subscribers and iterate through them. *Revue's API does not support paging, yet. The API will return 5000 subscribers.*

```
foreach ($api->getSubscribers() as $subscriber) {
    /*
     * array(6) {
          ["id"]=>
          int(42840832)
          ["list_id"]=>
          int(64471)
          ["email"]=>
          string(26) "test_8658431@firewards.com"
          ["first_name"]=>
          string(9) "firstName"
          ["last_name"]=>
          string(8) "lastName"
          ["last_changed"]=>
          string(24) "2020-12-24T02:21:26.333Z"
        }
     */
}
```

Get all available lists (subscriber groups).

```
foreach ($api->getLists()) {

}
```

Return information about a specific list using its id.

```
$list = $api->getList(13212);
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/Firewards/getrevue-php/blob/master/LICENSE) for more information.

Sponsor
-------

[](#sponsor)

[![www.firewards.com](https://camo.githubusercontent.com/84295b69df335e588fee017c0bb2bdf2b73b1f5e1c0fdef747b223e6eca5cd93/68747470733a2f2f7777772e6669726577617264732e636f6d2f6173736574732f696d616765732f4c6f676f2e706e67)](https://camo.githubusercontent.com/84295b69df335e588fee017c0bb2bdf2b73b1f5e1c0fdef747b223e6eca5cd93/68747470733a2f2f7777772e6669726577617264732e636f6d2f6173736574732f696d616765732f4c6f676f2e706e67)

This package is sponsored by [www.firewards.com](https://www.firewards.com), Firewards makes it easy to setup a referral and rewards program for your email list and newsletter.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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.

###  Release Activity

Cadence

Every ~87 days

Total

5

Last Release

1622d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/954b10a1446b3623b01189c7e93ff3c8075222098c4a5116b4bbcb720b80cc16?d=identicon)[dstuecken](/maintainers/dstuecken)

---

Top Contributors

[![dstuecken](https://avatars.githubusercontent.com/u/493399?v=4)](https://github.com/dstuecken "dstuecken (12 commits)")

---

Tags

apinewslettergetrevuerevue

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/firewards-getrevue-php/health.svg)

```
[![Health](https://phpackages.com/badges/firewards-getrevue-php/health.svg)](https://phpackages.com/packages/firewards-getrevue-php)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

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