This package is abandoned and no longer maintained. The author suggests using the matricali/akamai-token-auth package instead.

This library provides necessary logic to generate Akamai edge authorization token and signed URL.

1.0.0 2019-02-20 00:30 UTC

This package is auto-updated.

Last update: 2022-02-01 13:14:28 UTC


Latest Stable Version Build Status Coverage Status MIT licensed Total Downloads Latest Unstable Version composer.lock

Generates authorization token used by Akamai's Auth Token 2.0. It can be used in the HTTP Cookie, Query String, and Header. You can configure it in the Property Manager at


composer require matricali/akamai-token-auth


use Matricali\Security\EdgeAuth\TokenAuth;

$edgeAuth = new TokenAuth('aabbccddeeffgg00112233445566', TokenAuth::ALGORITHM_SHA256);

/* @throws Matricali\Security\EdgeAuth\InvalidArgumentException */

$authUrl = $edgeAuth->generateToken();