PHPackages                             hostingbe/php-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. hostingbe/php-api

ActiveLibrary

hostingbe/php-api
=================

PHP API client to connect to HostingBE's API, including logging and retry functionality.

v1.0.1(3y ago)021MITPHPPHP &gt;=8.0

Since Apr 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/HostingBE/php-api)[ Packagist](https://packagist.org/packages/hostingbe/php-api)[ RSS](/packages/hostingbe-php-api/feed)WikiDiscussions master Synced 1mo ago

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

PHP API client by HostingBE
===========================

[](#php-api-client-by-hostingbe)

HostingBE's API has many options for retrieving SEO data as well as for retrieving data about houses and information about ip addresses of your visitors. More options are being added all the time.

**Installing this API**

`composer require hostingbe/php-api`

**Capabilities of this API**

First of all, requesting different data via REST API with the answer in JSON format. If the API gets an error, it tries the same command a number of times. There is also logging functionality standard in this app.

**Using the API for the first time**To use it you need an account with HostingBE, [create it here](https://hostingbe.com/create-account).

When you are logged in, click on API settings and enter the IP address where the API requests come from (whitelist) After saving you will receive a username and password which you need when using API.

To connect to the API you need at least the following lines

```
use HostingBE\phpapi\Api\Logging\ApiLogger;
use HostingBE\phpapi\Api\HostingBE;
use GuzzleHttp\Exception\RequestException;
$logger = (new ApiLogger)->create('test-api');
$api = new HostingBE($logger);
$response = $api->login('username','password');

```

You now have an object with your JWT token in response.

Below are some commands that you can execute with this API.

**Search Google for PHP script**

`$response = $api->common('post','google/search',['q' => 'PHP script']);`

**Search Bing for top 10 websites**

`$response = $api->common('post','bing/search',['q' => 'top 10 websites']);`

**Information about IP-address**

`$response = $api->common('get','ipinfo',['136.144.136.12']);`

**API commands available**

- ping
- Google search
- Bing search
- All countries (code, country\_code, name)
- WOZ Value history real estate
- overview huislijn real estate
- details real estate huislijn
- overview makelaarsland real estate
- details makelaarsland estate huislijn
- overview VBO real estate
- details VBO estate huislijn

**Documentation**

Read more about the possibilities of this API on the [documentation](https://api.hostingbe.com/api/v1/docs/) page of HostingBe

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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 ~0 days

Total

2

Last Release

1124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2db43acf9be84d607758d08178aabd82aabd506320de4ba8fe8abc93c52b1f5b?d=identicon)[HostingBE](/maintainers/HostingBE)

---

Tags

PHP-APIGoogle searchbing searchinfo ipaddress

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hostingbe-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/hostingbe-php-api/health.svg)](https://phpackages.com/packages/hostingbe-php-api)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343121.4M79](/packages/google-cloud-core)[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)

PHPackages © 2026

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