PHPackages                             haphan/php-rage4dns - 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. haphan/php-rage4dns

ActiveLibrary[API Development](/categories/api)

haphan/php-rage4dns
===================

Rage4 DNS API PHP 5.3+ Library

v1.0.3(11y ago)4181MITPHPPHP &gt;=5.3.0

Since Apr 28Pushed 11y agoCompare

[ Source](https://github.com/haphan/php-rage4dns)[ Packagist](https://packagist.org/packages/haphan/php-rage4dns)[ RSS](/packages/haphan-php-rage4dns/feed)WikiDiscussions master Synced 6d ago

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

Rage4 DNS - Console Tool &amp; PHP Library
==========================================

[](#rage4-dns---console-tool--php-library)

[![SensioLabsInsight](https://camo.githubusercontent.com/27f4ee42f48e4237e08c2c87a99ebb06ab65a0036cf4a1668c418675e23d19ef/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35663037353337342d366232632d343835622d393166332d3532623536663339653438302f6d696e692e706e67)](https://insight.sensiolabs.com/projects/5f075374-6b2c-485b-91f3-52b56f39e480)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/afd8399953868005c0ca4027b7e72a474839a16eda2001b6e5e7eea45797ccde/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f68617068616e2f7068702d7261676534646e732f6261646765732f7175616c6974792d73636f72652e706e673f733d62306336613364396536623832636433623637373964636337393563313432666639333731396162)](https://scrutinizer-ci.com/g/haphan/php-rage4dns/)

[![](https://camo.githubusercontent.com/8419a2aaaec7807836db9bfb72097644fa7d1f59b7d2c03796cd25c4361cb0f3/687474703a2f2f692e696d6775722e636f6d2f455a654b6d4f462e706e67)](https://camo.githubusercontent.com/8419a2aaaec7807836db9bfb72097644fa7d1f59b7d2c03796cd25c4361cb0f3/687474703a2f2f692e696d6775722e636f6d2f455a654b6d4f462e706e67)

This PHP5.3+ library helps you to interact with the [Rage4 DNS API](http://gbshouse.uservoice.com/knowledgebase/articles/109834-rage4-dns-developers-api) via PHP or Console.

> The **Rage4 DNS** is fast, reliable and cost effective authoritative name servers service designed for high availability and performance. [Read more](http://rage4.com/Home/DNS)

Who use this?
-------------

[](#who-use-this)

- **PHP Developers** who wish to integrate their products or services with Rage4 DNS
- **System admins** who wish to automate tasks with Rage4DNS

Prerequisites
-------------

[](#prerequisites)

This library requires `git`, `curl`, `php` and `composer.phar`.

To install composer, execute following command.

```
$ curl -sS https://getcomposer.org/installer | php
```

Stand-alone console tool installation
-------------------------------------

[](#stand-alone-console-tool-installation)

If you are to use this as a CLI tool only (most likely for system administrators), follow these steps. Otherwise see **PHP library installation**.

Make sure you have `composer.phar` and `git` installed before execute following command.

```
$ git clone https://github.com/haphan/php-rage4dns.git rage4; cd rage4; composer.phar config bin-dir bin; composer.phar install
```

Modify `credentials.yml` to include your email and API key. Finally verify installation by execute command

```
$ php bin/rage4dns
```

PHP library installation
------------------------

[](#php-library-installation)

This library can be found on [Packagist](https://packagist.org/packages/haphan/php-rage4dns).

The recommended way to install this is through [composer](http://getcomposer.org).

```
$ php composer.phar require haphan/php-rage4dns:dev-master
```

Or edit `composer.json` and add:

```
{
    "require": {
        "haphan/php-rage4dns": "dev-master"
    }
}
```

**Protip:** To install latest dev release, you should browse the [`haphan/php-rage4dns`](https://packagist.org/packages/haphan/php-rage4dns)

And install dependencies:

```
$ php composer.phar install
```

Now you can add the autoloader, and you will have access to the library:

```
