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

AbandonedArchivedLibrary[API Development](/categories/api)

ahrefs/ahrefs-api-php
=====================

Wrapper for Ahrefs API V2

v1.2(4y ago)4955.4k↓73.4%23[1 issues](https://github.com/ahrefs/ahrefs-api-php/issues)PHP

Since Feb 7Pushed 10mo ago21 watchersCompare

[ Source](https://github.com/ahrefs/ahrefs-api-php)[ Packagist](https://packagist.org/packages/ahrefs/ahrefs-api-php)[ RSS](/packages/ahrefs-ahrefs-api-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Ahrefs PHP API Client
---------------------

[](#ahrefs-php-api-client)

Wrapper for [Ahrefs](https://ahrefs.com) legacy discontinued [API V2](https://ahrefs.com/api/documentation).

Use [api v3](https://docs.ahrefs.com/docs/api/reference/introduction) instead.

Usage
-----

[](#usage)

Look inside index.php for example usage, or use the [API Request Builder](https://ahrefs.com/api/api-request-builder) to generate the code.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

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

Every ~456 days

Total

3

Last Release

1470d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/405dab243007488e7e7851422e5864a9312aee36058d60f1e6d623232c4d3131?d=identicon)[repat](/maintainers/repat)

---

Top Contributors

[![codest](https://avatars.githubusercontent.com/u/687703?v=4)](https://github.com/codest "codest (54 commits)")[![cyberhuman](https://avatars.githubusercontent.com/u/979624?v=4)](https://github.com/cyberhuman "cyberhuman (8 commits)")[![zachary-russell](https://avatars.githubusercontent.com/u/2122549?v=4)](https://github.com/zachary-russell "zachary-russell (2 commits)")[![rr0gi](https://avatars.githubusercontent.com/u/95645189?v=4)](https://github.com/rr0gi "rr0gi (2 commits)")[![ssvet](https://avatars.githubusercontent.com/u/19324759?v=4)](https://github.com/ssvet "ssvet (2 commits)")[![botsbreeder](https://avatars.githubusercontent.com/u/6220970?v=4)](https://github.com/botsbreeder "botsbreeder (1 commits)")[![flmommens](https://avatars.githubusercontent.com/u/5312486?v=4)](https://github.com/flmommens "flmommens (1 commits)")[![timmoh](https://avatars.githubusercontent.com/u/4960172?v=4)](https://github.com/timmoh "timmoh (1 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

709209.3k](/packages/lucasdotvin-laravel-soulbscription)[pimax/fb-messenger-php

Facebook Messenger Bot PHP API

313188.5k2](/packages/pimax-fb-messenger-php)

PHPackages © 2026

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