PHPackages                             bluestatedigital/akamai-api-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. bluestatedigital/akamai-api-client

ActiveLibrary[API Development](/categories/api)

bluestatedigital/akamai-api-client
==================================

API client for Akamai's OPEN API in PHP.

1.0.0(10y ago)05.7kMITPHP

Since May 29Pushed 10y ago28 watchersCompare

[ Source](https://github.com/bluestatedigital/akamai-api-client)[ Packagist](https://packagist.org/packages/bluestatedigital/akamai-api-client)[ Docs](http://akamai.com)[ RSS](/packages/bluestatedigital-akamai-api-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Akamai PHP Client
=================

[](#akamai-php-client)

Install
-------

[](#install)

```
composer install bluestatedigital/akamai-php-client
```

Usage
-----

[](#usage)

If you already have your credentials on hand:

```
$curl = new Curl;

$client = new Client($curl, $clientToken, $clientSecret, $accessToken, $baseUrl);
$resp = $client->checkQueueLength();
echo $resp->queueLength;
```

If you want to parse your .edgerc file to get your credentials:

```
$credentials = new Edgerc('default', '/path/to/my/.edgerc');

// You can now use $credentials->getHost(), $credentials->getClientToken(),
// $credentials->getClientSecret() and $credentials->getAccessToken().
```

Supported API methods/actions
-----------------------------

[](#supported-api-methodsactions)

- checkQueueLength()
- getPurgeStatus($id)
- purgeRequest($object)

Akamai Documentation
--------------------

[](#akamai-documentation)

Differences From Original
-------------------------

[](#differences-from-original)

This fork of the library simply adds a helper function for parsing credentials out of an .edgerc file, which we currently have on our servers already for other reasons.

Forked With Love
----------------

[](#forked-with-love)

This library was originally developed by [Jeremy Marc](https://github.com/jeremymarc). Thanks for the sweet, sweet code. This got us off the ground quickly.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

4007d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f508e2032020b2f3c3df1a803e5c7925ce94f24179fc1a7fcbd73f64923b3f5?d=identicon)[tobz1](/maintainers/tobz1)

---

Top Contributors

[![tobz](https://avatars.githubusercontent.com/u/222615?v=4)](https://github.com/tobz "tobz (5 commits)")[![jeremymarc](https://avatars.githubusercontent.com/u/410677?v=4)](https://github.com/jeremymarc "jeremymarc (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bluestatedigital-akamai-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/bluestatedigital-akamai-api-client/health.svg)](https://phpackages.com/packages/bluestatedigital-akamai-api-client)
```

###  Alternatives

[gorkalaucirica/hipchat-v2-api-client

Hipchat v2 API client

80223.4k6](/packages/gorkalaucirica-hipchat-v2-api-client)[matthiasnoback/microsoft-translator

Library for making calls to the Microsoft Translator V2 API

39234.2k3](/packages/matthiasnoback-microsoft-translator)[tamara-solution/php-sdk

Tamara PHP Client Library

10259.4k1](/packages/tamara-solution-php-sdk)[webit/w-firma-api

wFirma.pl API

1820.2k](/packages/webit-w-firma-api)[armetiz/airtable-php

Manipulate Airtable API using PHP

209.2k](/packages/armetiz-airtable-php)

PHPackages © 2026

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