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. [API Development](/categories/api)
4. /
5. hostingbe/php-api

ActiveLibrary[API Development](/categories/api)

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

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

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

1171d ago

### Community

Maintainers

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

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M18](/packages/pantheon-systems-terminus)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)

PHPackages © 2026

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