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

2241PHP

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

17

—

LowBetter than 6% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity17

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://avatars.githubusercontent.com/u/48013636?v=4)[BiologDed](/maintainers/biologed)[@biologed](https://github.com/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

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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