NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4364 most downloaded on Packagist
Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client_Auth.html
Latest stable
2.1.3
Last release 1 months ago
14 Oct 2026
Ships unpredictably
gaps range from 9 days to 5.1 years
Nearly every release is documented
notes for 24 of 24 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
24 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Upgraded akamai-open/edgegrid-auth to 2.0.3, which updates environment credential loading to use getenv() first, with a possible fallback to $_ENV.
akamai-open/edgegrid-auth to 2.0.3, which updates environment credential loading to use getenv() first, with a possible fallback to $_ENV.Dropped support for end of life PHP version. Minimal PHP version is now 8.2.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixed deprecations for PHP 8.4 (PR#54).
Change from extending Guzzle Client to using trait
[25 Sep, 2023]
\Akamai\Open\EdgeGrid\Client setLogger function\Akamai\Open\EdgeGrid\Client setLogger function.Upgrade to Guzzle 7.5, Monolog 2.0
[18 Oct, 2022]
This release is the final 1.0.0 (stable) release for akamai-open/edgegrid-client
This release is the final 1.0.0 (stable) release for akamai-open/edgegrid-client
Changes since 1.0.0beta1:
Bumped akamai-open-edgegrid-auth requirement to 0.6.2 (@siwinski).
Added a new Client::createInstance() method that will try to use the environment and fallback to .edgerc.
Added a new Client::createInstance() method that will try to use the environment and fallback to .edgerc.
This method will check in order:
AKAMAI_{SECTION}_* environment variablesdefault section, AKAMAI_* environment variablesdefault if none) section in .edgercdefault section, AKAMAI_* environment variablesThis new method is the recommended way for instantiating an instance.
The environment variables are:
AKAMAI_HOST or AKAMAI_{SECTION}_HOSTAKAMAI_CLIENT_TOKEN or AKAMAI_{SECTION}_CLIENT_TOKENAKAMAI_CLIENT_SECRET or AKAMAI_{SECTION}_CLIENT_SECRETAKAMAI_ACCESS_TOKEN or AKAMAI_{SECTION}_ACCESS_TOKENUpdate to akamai-open/edgegrid-auth 0.6.1 (PHP 7.1 compatibility)
For those of you using the PHAR releases, this version dramatically reduces the size of the PHAR. This will impact memory and overall resource usage.
For those of you using the PHAR releases, this version dramatically reduces the size of the PHAR. This will impact memory and overall resource usage.
-A short flag for --auth-type on CLI to match httpie-A short flag for --auth-type on CLI to match HTTPie.Split \Akamai\Open\EdgeGrid\Authentication into it's own (PHP 5.3+ compatible) package
\Akamai\Open\EdgeGrid\Authentication into it's own (PHP 5.3+ compatible) packageapigen/apigenNote: If you are using
akamai-open/edgegrid-clientas a composer dependency, it will continue to function without any changes. For details onakamai-open/edgegrid-authsee details here.
\Akamai\Open\EdgeGrid\Authentication into its own (5.3+ compatible) package.apigen/apigen.This release adds some new getters to \Akamai\Open\EdgeGrid\Authentication:
This release adds some new getters to \Akamai\Open\EdgeGrid\Authentication:
getQuery()getBody()getHttpMethod()getConfig()getHeaders()* Updated dependencies.
This release has some minor changes to allow running the signer on PHP 5.3+.
This release has some minor changes to allow running the signer on PHP 5.3+.
Note: This is probably the last pre-release version before 1.0
Used the STDERR stream instead of the cli-only constant (Fixes #24).
This release changes the default timeout to 300 seconds to match the SLA (Refs #20)
This release changes the default timeout to 300 seconds to match the SLA (Refs #20)
Removed the shebang from the PHAR build as it is output when including it.
Removed the shebang from the PHAR build as it is output when including it.
Add more httpie-compatible features
Add more httpie-compatible features
--follow (redirects are no longer followed by default)--json|-j (default: on)--form|-fSTDIN input=@ and :=@URL and METHOD can now be anywhere in the argument stringexample.org[/path] type URLs--version--follow (redirects are no longer followed by default).--json|-j (default: on).--form|-f.STDIN input.=@ and :=@.URL and METHOD can now be anywhere in the argument string.example.org[/path] type URLs.--version.Add support for PSR-7 requests (e.g. ->send() and ->sendAsync()) (See #14)
->send() and ->sendAsync()) (See #14)\Exception to more appropriate, and package specific exceptions (See #13)->send() and ->sendAsync()).\Exception to a more appropriate and package-specific exceptions.This release adds a new \Akamai\Open\EdgeGrid\Handler\Authentication class which is a Guzzle Middleware Handler.
This release adds a new \Akamai\Open\EdgeGrid\Handler\Authentication class which is a Guzzle Middleware Handler.
For more details on Guzzle middleware see this link.
To use, simply do the following:
$auth = \Akamai\Open\EdgeGrid\Handler\Authentication::createFromEdgeRcFile();
// or:
$auth = new \Akamai\Open\EdgeGrid\Handler\Authentication;
$auth->setAuth($client_token, $client_secret, $access_token);
// Create the handler stack
$handlerStack = HandlerStack::create();
// Add the Auth handler to the stack
$handlerStack->push($auth);
// Add the handler to a regular \GuzzleHttp\Client
$guzzle = new \GuzzleHttp\Client([
"handler" => $handlerStack
]);
// All requests to Akamai {OPEN} EdgeGrid are now automatically signed
Additionally, it adds a \Akamai\Open\EdgeGrid\Handler\Verbose handler, which enables you to output/log responses (defaults to outputting non-errors to STDOUT and errors to STDERR).
You can use this by adding it to the handler stack:
// Create the handler stack
$handlerStack = HandlerStack::create();
// Add the Auth handler to the stack
$handlerStack->push(new \Akamai\Open\EdgeGrid\Handler\Verbose());
// Add the handler to a regular \GuzzleHttp\Client
$guzzle = new \GuzzleHttp\Client([
"handler" => $handlerStack
]);
// Response bodies are now output
It also adds a \Akamai\Open\EdgeGrid\Handler\Debug handler which will output/log error responses (defaults to STDERR):
// Create the handler stack
$handlerStack = HandlerStack::create();
// Add the Auth handler to the stack
$handlerStack->push(new \Akamai\Open\EdgeGrid\Handler\Debug());
// Add the handler to a regular \GuzzleHttp\Client
$guzzle = new \GuzzleHttp\Client([
"handler" => $handlerStack
]);
// Response bodies are now output
GuzzleHttp\Middleware.Authentication, Verbose, and Debug middleware handlers.This release adds PSR-3 compatible logging, defaulting to monolog/monolog
This release adds PSR-3 compatible logging, defaulting to monolog/monolog
Also:
\Akamai\Open\EdgeGrid\Authentication::createFromEdgeRcFile()\Akamai\Open\EdgeGrid\Authentication::createFromEdgeRcFile() method.This release is 100% backwards compatible with 0.1.0!
This release is 100% backwards compatible with 0.1.0!
* Initial release.
Update to akamai-open/edgegrid-auth 1.0.0beta1
This is the first beta for the akamai-open/edgegrid-client package.
One column per quarter.