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(3y ago)4954.2k↓30.4%23[1 issues](https://github.com/ahrefs/ahrefs-api-php/issues)PHP

Since Feb 7Pushed 7mo ago42 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 1mo 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

45

—

FairBetter than 93% of packages

Maintenance43

Moderate activity, may be stable

Popularity43

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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