PHPackages                             nticaric/majestic-seo-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. nticaric/majestic-seo-api

ActiveLibrary[API Development](/categories/api)

nticaric/majestic-seo-api
=========================

PHP library for making requests to the Majestic SEO API

v1.0.0(11y ago)51113GNU General Public LicensePHPPHP &gt;=5.4.0

Since Mar 27Pushed 4y ago5 watchersCompare

[ Source](https://github.com/nticaric/majestic-seo-api)[ Packagist](https://packagist.org/packages/nticaric/majestic-seo-api)[ Docs](http://github.com/nticaric/majestic-seo-api)[ RSS](/packages/nticaric-majestic-seo-api/feed)WikiDiscussions master Synced 3d ago

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

[![Total Downloads](https://camo.githubusercontent.com/2f33fbea2295f9c737dc07c7a6caa81cf5e951009a3f4e9ce1bcb994fe3e6ca7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e746963617269632f6d616a65737469632d73656f2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nticaric/majestic-seo-api)

majestic-seo-api
================

[](#majestic-seo-api)

PHP library for making requests to the Majestic SEO API

\##Instalation

The easiest way to install Majestic SEO API is via [composer](http://getcomposer.org/). Create the following `composer.json` file and run the `php composer.phar install` command to install it.

```
{
    "require": {
        "nticaric/majestic-seo-api": "1.0.*"
    }
}
```

\##Examples

### GetBackLinkData

[](#getbacklinkdata)

This function returns information of the backlinks at domain, subdomain or URL level.

Usage:

```
    use Nticaric\Majestic\MajesticAPIService;

    //if the second parameter is set to true, the sanbox mode is used
    $service = new MajesticAPIService("your_api_key", true);
    $params = array(
        'MaxSameSourceURLs' => 1
    );

    $response = $service->getBackLinkData('example.com', $params);

    print_r( (string) $response->getBody());
```

Another way to do the same is:

```
    use Nticaric\Majestic\MajesticAPIService;

    //if the second parameter is set to true, the sanbox mode is used
    $service = new MajesticAPIService("your_api_key", true);
    $params = array(
        'item' => 'example.com',
        'MaxSameSourceURLs' => 1
    );

    $response = $service->executeCommand('GetBackLinkData', $params);

    print_r( (string) $response->getBody());
```

The `executeCommand` method lets you execute any method available with according parameters. To see what commands are available take a look at the [documentation](http://developer-support.majestic.com/api/commands/)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4162d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fc0f9546f5f7b8a91fa32ca0de9f2c590d00ec113c621783eeca82516bb006f?d=identicon)[nticaric](/maintainers/nticaric)

---

Top Contributors

[![nticaric](https://avatars.githubusercontent.com/u/824840?v=4)](https://github.com/nticaric "nticaric (10 commits)")[![ricoxor](https://avatars.githubusercontent.com/u/3131462?v=4)](https://github.com/ricoxor "ricoxor (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nticaric-majestic-seo-api/health.svg)

```
[![Health](https://phpackages.com/badges/nticaric-majestic-seo-api/health.svg)](https://phpackages.com/packages/nticaric-majestic-seo-api)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.5k](/packages/laravel-framework)[statamic/cms

The Statamic CMS Core Package

4.9k3.8M1.2k](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[lion/bundle

Lion-framework configuration and initialization package

132.4k5](/packages/lion-bundle)[files.com/files-php-sdk

Files.com PHP SDK

2482.9k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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