{"id":15375156,"url":"https://github.com/matricali/php-edge-auth","last_synced_at":"2025-08-31T12:40:18.697Z","repository":{"id":57001431,"uuid":"95594605","full_name":"matricali/php-edge-auth","owner":"matricali","description":"PHP Library that generates authorization token used by Akamai Auth Token 2.0.","archived":false,"fork":false,"pushed_at":"2019-05-29T03:13:11.000Z","size":21,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T21:02:56.400Z","etag":null,"topics":["akamai","composer","edge-auth","php","php-library","security","signature","token"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matricali.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-27T19:46:11.000Z","updated_at":"2023-09-02T18:34:02.000Z","dependencies_parsed_at":"2022-08-21T11:40:39.679Z","dependency_job_id":null,"html_url":"https://github.com/matricali/php-edge-auth","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matricali%2Fphp-edge-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matricali%2Fphp-edge-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matricali%2Fphp-edge-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matricali%2Fphp-edge-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matricali","download_url":"https://codeload.github.com/matricali/php-edge-auth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248684805,"owners_count":21145144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["akamai","composer","edge-auth","php","php-library","security","signature","token"],"created_at":"2024-10-01T14:01:40.961Z","updated_at":"2025-04-15T12:31:28.018Z","avatar_url":"https://github.com/matricali.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-edge-auth\n\n[![Latest Stable Version](https://poser.pugx.org/matricali/akamai-token-auth/v/stable)](https://packagist.org/packages/matricali/akamai-token-auth)\n[![Build Status](https://travis-ci.org/matricali/php-edge-auth.svg?branch=master)](:status:) [![Coverage Status](https://coveralls.io/repos/github/matricali/php-edge-auth/badge.svg?branch=master)](https://coveralls.io/github/matricali/php-edge-auth?branch=master)\n[![MIT licensed](https://img.shields.io/github/license/matricali/php-edge-auth.svg)](https://matricali.mit-license.org/2017)\n[![Total Downloads](https://poser.pugx.org/matricali/akamai-token-auth/downloads)](https://packagist.org/packages/matricali/akamai-token-auth)\n[![Latest Unstable Version](https://poser.pugx.org/matricali/akamai-token-auth/v/unstable)](https://packagist.org/packages/matricali/akamai-token-auth)\n[![composer.lock](https://poser.pugx.org/matricali/akamai-token-auth/composerlock)](https://packagist.org/packages/matricali/akamai-token-auth)\n\nGenerates authorization token used by Akamai's Auth Token 2.0. It can be used\nin the HTTP Cookie, Query String, and Header.\nYou can configure it in the Property Manager at https://control.akamai.com.\n\n### Installation\n```\ncomposer require matricali/akamai-token-auth\n```\n\n### Usage\n```php\nuse Matricali\\Security\\EdgeAuth\\TokenAuth;\n\n$edgeAuth = new TokenAuth('aabbccddeeffgg00112233445566', TokenAuth::ALGORITHM_SHA256);\n\n/* @throws Matricali\\Security\\EdgeAuth\\InvalidArgumentException */\n$edgeAuth-\u003esetIp($client_ip);\n\n$authUrl = $edgeAuth-\u003egenerateToken();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatricali%2Fphp-edge-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatricali%2Fphp-edge-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatricali%2Fphp-edge-auth/lists"}