PHPackages                             freddokresna/internetbsapi - 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. freddokresna/internetbsapi

ActiveLibrary[API Development](/categories/api)

freddokresna/internetbsapi
==========================

InternetBS API to integrate with YII framework

111PHP

Since Jun 19Pushed 6y agoCompare

[ Source](https://github.com/freddokresna/internetbsapi)[ Packagist](https://packagist.org/packages/freddokresna/internetbsapi)[ RSS](/packages/freddokresna-internetbsapi/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

InternetBS Reseller API PHP Class
=================================

[](#internetbs-reseller-api-php-class)

PHP class to get easy and quick access to all InternetBS reseller API functions

### Supported Features

[](#supported-features)

---

- Domain related operations
- Managing Private (Anonymous) WHOIS Service
- DNS management related operations
- Managing Email Forwarding
- Managing Url Forwarding
- Nameservers (host) related operations
- Account related operations
- Write log operations and customize logging method
- Customize error handling

### Usage Example - Quick Start

[](#usage-example---quick-start)

---

Usage of Internet BS Reseller API class is very easy. Just see the example below:

```
include_once('InternetBS.php');

try {

    // You already can execute command at test server! Let's do:
    if(InternetBS::api()->domainCheck('check-at-test-server.com'))    {
        echo "Domain available!\n";
    } else {
        echo "Domain unavailable!\n";
    }

    // To execute command at live server you just need to set your API key and password.
    // Do it just once and after that all commands will be executed at live server.
    InternetBS::init('MyApiKey', 'mypassword');

    // Now you may execute command at live server
    if(InternetBS::api()->domainCheck('check-at-live-server.org'))    {
        echo "Domain available!\n";
    } else {
        echo "Domain unavailable!\n";
    }

    // Next API command will be also executed at live server
    // For example we may get current registrar prices
    print_r(InternetBS::api()->accountPriceListGet('USD'));

 } catch (Exception $e) {
     echo "OOPS Error: ".$e->getMessage()."\n";
 }
```

Looks simple, isn't it? See other examples in "example" folder. Also, you can find a class documentation generated by phpDocumentor in "doc" folder.

### How to Test Code at Sandbox Server

[](#how-to-test-code-at-sandbox-server)

---

If you don't specify a valid API key and password, then all commands will be executed at test server. So to execute command on test server, you actually no need to do anything, it will be done by default.

**NOTE:** API test server much slower than the real api server. If some commands work slow at test server do not worry about that too much, most probably at live server it will be executed much faster.

### How To Get Real API Key?

[](#how-to-get-real-api-key)

---

To execute commands at live server you need valid API key. To get an API key just performs 3 simple steps:

1. Click [here to create new account](https://internetbs.net/newaccount.html?pId=apiclass) at InternetBS site.
2. Open control panel and find at the top of the page (right upper conner) link "**Get API Key**", click that link.
3. Add funds to your balance in order to be able to execute payable operations like domain registration, renew, transfer and so on.

When you are done you will get your own API key and password. Now you can execute any commands at real live server. Don't forget to set your API/password once somewhere at script begin (before first command execution) like:

```
InternetBS::init('PUT-YOUR-API-HERE', 'PASSWORD');
//.... after that we can execute any command(s) at live server
```

### Useful Links

[](#useful-links)

---

- \[Ready to use plugins for leading web hosting and billing platforms\] ()
- \[Reseller/Registrar Domain Name API Documentation\] ()

internetbsapi
=============

[](#internetbsapi)

clone from  in order to implement using YII framework

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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/0ad621e0e28d91cc530d62124d88ed3d1021ffbca0ba179faf7f23614ad101d1?d=identicon)[freddokresna](/maintainers/freddokresna)

---

Top Contributors

[![freddokresna](https://avatars.githubusercontent.com/u/753514?v=4)](https://github.com/freddokresna "freddokresna (7 commits)")

### Embed Badge

![Health badge](/badges/freddokresna-internetbsapi/health.svg)

```
[![Health](https://phpackages.com/badges/freddokresna-internetbsapi/health.svg)](https://phpackages.com/packages/freddokresna-internetbsapi)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M272](/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.1M454](/packages/google-gax)

PHPackages © 2026

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