PHPackages                             artistan/revive-xmlrpc - 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. artistan/revive-xmlrpc

ActiveLibrary[API Development](/categories/api)

artistan/revive-xmlrpc
======================

package of the library classes to provide XmlRpc routines for accessing revive ad servers

v2.3.4(7y ago)915.0k12[1 issues](https://github.com/Artistan/Revive-XmlRpc/issues)GPL-2.0-or-laterPHP

Since May 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Artistan/Revive-XmlRpc)[ Packagist](https://packagist.org/packages/artistan/revive-xmlrpc)[ Docs](https://github.com/Artistan/revive-xmlrpc)[ RSS](/packages/artistan-revive-xmlrpc/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

Artistan/Revive-XmlRpc
======================

[](#artistanrevive-xmlrpc)

remote procedure calls - RPC - is a basic API that has existed on Revive since it was OpenX Source. This is a basic update to that system and extracted into a package which can be used in virtually any Php Project to access your Revive server or manage multiple Revive servers. The response data is not exactly pretty for Ads Display, but hopefully I can come up with a version 3 that format the data into a more friendly format.

Revive AdServer xml api
-----------------------

[](#revive-adserver-xml-api)

extracted into a package and updated to use packages rather than pear

requires
--------

[](#requires)

- php-xml

uses
----

[](#uses)

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

SETUP
-----

[](#setup)

#### composer

[](#composer)

```
    "require": {
        "artistan/revive-xmlrpc": "*"
    }
```

Using The API
-------------

[](#using-the-api)

[phpdoc documentation](./api.md)

### Version 2 xml

[](#version-2-xml)

these examples were tested in Laravel 5.6 Commands

#### configuration

[](#configuration)

loads definitions in this order each step will override/replace the previous step

1. loads /Assets/Config/revive-xmlrpc.php (defaults)
2. laravel style configs (if function config exists)
3. constructor array settings (first param can be an array)
4. constructor individual settings

##### laravel config/env

[](#laravel-configenv)

```
php artisan vendor:publish --provider=artistan/revive-xmlrpc
```

you can edit the `config/revive-xmlrpc.php` file add these env variables to or .env files

```
RVRPC_HOST=ads.me.com
RVRPC_BASEPATH=/api/v2/xmlrpc/
RVRPC_USERNAME=admin
RVRPC_PASSWORD=~test~
RVRPC_PORT=0
RVRPC_SSL=1
RVRPC_TIMEOUT=15
```

```
use Artistan\ReviveXmlRpc\OpenAdsV2ApiXmlRpc;
$rpc = new OpenAdsV2ApiXmlRpc();
$list = $rpc->getAgencyList();
```

##### custom config initialization

[](#custom-config-initialization)

uses `./Assets/Config/revive-xmlrpc.php` for config if you do not provide it to the class.

```
use Artistan\ReviveXmlRpc\OpenAdsV2ApiXmlRpc;

$config = [
	'host'=>'ads.me.com',
	'basepath'=>'/www/api/v2/xmlrpc/',
	'username'=>'admin',
	'password'=>'~test~',
	'port'=>0,
	'ssl'=>true,
	'timeout'=>15
]

$rpc = new OpenAdsV2ApiXmlRpc($config);
$list = $rpc->getAgencyList();
```

##### full initialization

[](#full-initialization)

```
use Artistan\ReviveXmlRpc\OpenAdsV2ApiXmlRpc;
$rpc = new OpenAdsV2ApiXmlRpc('ads.me.com', '/www/api/v2/xmlrpc/', 'admin', '~test~', 0, true, 15);
$list = $rpc->getAgencyList();
```

### API Version 1 xml

[](#api-version-1-xml)

```
use Artistan\ReviveXmlRpc\OpenAdsV1ApiXmlRpc;
$rpc = new OpenAdsV1ApiXmlRpc('ads.me.com', '/www/api/v1/xmlrpc/', 'admin', '~test~', 0, true, 15);
$list = $rpc->getAgencyList();
```

#### Ad Display Retrieval xml

[](#ad-display-retrieval-xml)

```
        $rpc = new OpenAdsDisplayXmlRpc('ads.me.com', '/www/delivery/axmlrpc.php', 443, true, 15);
        $rpc->setRemoteInfo('remote_addr', 'chuck-dev');
        $list = $rpc->view(
        	/* string    zone */ 'zone:1',
        	/* int campaignid */ 0,
        	/* string  target */ '',
        	/* string  source */ '',
        	/* 0|1   withText */ 0,
        	/* array  contect */ [],
        	/* strubg charset */ ''
		);
        var_dump(json_decode(json_encode($list),true));
```

#### [Documentation](https://github.com/victorjonsson/PHP-Markdown-Documentation-Generator) Updates

[](#documentation-updates)

[PHP-Markdown-Documentation-Generator](https://github.com/victorjonsson/PHP-Markdown-Documentation-Generator)

```
./vendor/bin/phpdoc-md generate --ignore=test,examples src > api.md
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~14 days

Recently: every ~23 days

Total

12

Last Release

2777d ago

Major Versions

v1.2.0 → v2.0.02018-05-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/fc511d79233a52b0bb85db90dcac069b3482399e1a6778acfd1825092a2de9cb?d=identicon)[Artistan](/maintainers/Artistan)

---

Top Contributors

[![Artistan](https://avatars.githubusercontent.com/u/801349?v=4)](https://github.com/Artistan "Artistan (2 commits)")[![OlexandrPopov](https://avatars.githubusercontent.com/u/1233052?v=4)](https://github.com/OlexandrPopov "OlexandrPopov (1 commits)")

---

Tags

apixmlrpcreviveadsserver

### Embed Badge

![Health badge](/badges/artistan-revive-xmlrpc/health.svg)

```
[![Health](https://phpackages.com/badges/artistan-revive-xmlrpc/health.svg)](https://phpackages.com/packages/artistan-revive-xmlrpc)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)[specialtactics/l5-api

Dependencies for the Laravel API Boilerplate package

3672.8k2](/packages/specialtactics-l5-api)[tbondois/odoo-ripcord

Ripoo : a PHP8 XML-RPC client handler for Odoo External API

16124.3k1](/packages/tbondois-odoo-ripcord)

PHPackages © 2026

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