PHPackages                             biologed/revive-ad-server-api - 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. biologed/revive-ad-server-api

ActiveLibrary[API Development](/categories/api)

biologed/revive-ad-server-api
=============================

Package for access to Api V2 Revive Ad Server

1241PHP

Since Nov 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/biologed/laravel-revive-ad-server-api)[ Packagist](https://packagist.org/packages/biologed/revive-ad-server-api)[ RSS](/packages/biologed-revive-ad-server-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Revive Ad Server XML RPC API
============================

[](#revive-ad-server-xml-rpc-api)

Uses
----

[](#uses)

- [phpxmlrpc/phpxmlrpc](https://github.com/gggeek/phpxmlrpc)
- [illuminate/support](https://github.com/illuminate/support)

##### Laravel config/env

[](#laravel-configenv)

```
php artisan vendor:publish --provider="Biologed\Revive\ReviveServiceProvider"
```

If you want to edit the config, use the ENV constants in the .env file

```
REVIVE_HOST=example.com
REVIVE_BASEPATH=/www/api/v2/xmlrpc/
REVIVE_USERNAME=admin
REVIVE_PASSWORD=password
REVIVE_PORT=0
REVIVE_SSL=1
REVIVE_TIMEOUT=15
```

Examples
--------

[](#examples)

```
use Biologed\Revive\Revive;
use Biologed\Revive\Entities\Advertiser;
use Biologed\Revive\Entities\Agency;

//get agency entity from Revive Ad Server
$agencyEntity = Revive::API()->setAgencyId(1)->getAgency();

//create Advertiser Entity
$advertiserEntity = new Advertiser();
$createdAdvertiser = $advertiserEntity->readDataFromArray([
    'advertiserId' => 0,
    'accountId' => 1,
    'agencyId' => 1,
    'advertiserName' => 'Advertiser',
    'contactName' => 'Contact',
    'emailAddress' => 'password',
    'comments' => 'comment',
]);

//modify Agency to Revive Ad Server
$agencyEntity->setParam('contactName', 'new contact name');
Revive::API()->setAgencyEntity($agencyEntity)->modifyAgency();

//get list of Agencies
$agencyList = Revive::API()->getAgencyList();

//get statistics
$advertiserCampaignStatistics = Revive::API()
    ->setAdvertiserId(5)
    ->setStartDate(CarbonImmutable::yesterday())
    ->setEndDate(CarbonImmutable::today())
    ->advertiserCampaignStatistics()
    ->get();
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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/ac587c0bb028e1e0bb805f9e1f41aaec9e82c4d6694aac3bf17b9877c399f199?d=identicon)[biologed](/maintainers/biologed)

---

Top Contributors

[![biologed](https://avatars.githubusercontent.com/u/48013636?v=4)](https://github.com/biologed "biologed (1 commits)")

### Embed Badge

![Health badge](/badges/biologed-revive-ad-server-api/health.svg)

```
[![Health](https://phpackages.com/badges/biologed-revive-ad-server-api/health.svg)](https://phpackages.com/packages/biologed-revive-ad-server-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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