PHPackages                             bitween-software/majestic-api-php-client - 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. bitween-software/majestic-api-php-client

ActiveLibrary[API Development](/categories/api)

bitween-software/majestic-api-php-client
========================================

PHP Client for the Majestic HTTP API. Forked from majestic/PHP-API-Connector.

v0.0.1(5y ago)089PHP

Since May 26Pushed 5y agoCompare

[ Source](https://github.com/bitween-software/majestic-api-php-client)[ Packagist](https://packagist.org/packages/bitween-software/majestic-api-php-client)[ RSS](/packages/bitween-software-majestic-api-php-client/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP-API-Connector (for PHP 7+)
==============================

[](#php-api-connector-for-php-7)

Use the  connectors to access web data from one of the largest web indexes available. The Majestic® search engine is mainly used to instantly provide Flow Metrics® which evaluate the any page on the Internet in scores between 0 and 100.

For set up
----------

[](#for-set-up)

You will need PHP7 for this API-Connector. Also you may need to configure your Environment variables so that PHP is in your PATH.\\

To use the API call the following in your project:

```
require_once 'majesticseo-external-rpc/APIService.php';

```

Examples
--------

[](#examples)

There are a few examples of using the API-Connector in the following scripts:

- GetIndexItemInfo.php
    - The GetIndexItemInfo command provides data on the number of backlinks to any web page or site, linking domains and the main topics for that page or web site
- GetBackLinkData.php
    - GetBacklinkData will return rows of data with information about all the pages linking to a given URL or domain

You can run the examples via the terminal like this `>php GetIndexItemInfo.php`

Further notes
-------------

[](#further-notes)

The API returns data in UTF-8 format this may have issues with printing non unicode characters when using version of PHP earlier than 7.

For further information see api documentation @

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

1865d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25842954?v=4)[Bitween](/maintainers/Bitween)[@Bitween](https://github.com/Bitween)

---

Top Contributors

[![maj-hamzahk](https://avatars.githubusercontent.com/u/32493853?v=4)](https://github.com/maj-hamzahk "maj-hamzahk (6 commits)")[![tim-majestic](https://avatars.githubusercontent.com/u/16780127?v=4)](https://github.com/tim-majestic "tim-majestic (3 commits)")[![gmu-jvogelzang](https://avatars.githubusercontent.com/u/69144460?v=4)](https://github.com/gmu-jvogelzang "gmu-jvogelzang (1 commits)")[![majestic-ged](https://avatars.githubusercontent.com/u/32388370?v=4)](https://github.com/majestic-ged "majestic-ged (1 commits)")[![MajesticSEO](https://avatars.githubusercontent.com/u/1036289?v=4)](https://github.com/MajesticSEO "MajesticSEO (1 commits)")[![MJSEO-Matthew](https://avatars.githubusercontent.com/u/2536009?v=4)](https://github.com/MJSEO-Matthew "MJSEO-Matthew (1 commits)")

### Embed Badge

![Health badge](/badges/bitween-software-majestic-api-php-client/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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