auth0-php-api

Official

Secure PHP API endpoints with Auth0 authentication.

Authorauth0
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides an easy way to protect PHP API endpoints using Auth0 authentication, enabling secure access token validation and scope checks.

Core Features & Use Cases

  • JWT Token Validation: Validate JWT Bearer tokens and perform scope checks to ensure proper access control.
  • API Mode Integration: Utilizes the auth0/auth0-php SDK in API mode for stateless authentication.
  • Use Case: This Skill is ideal for implementing authentication in PHP applications, where you need to secure API endpoints against unauthorized access.

Quick Start

To protect your API endpoint, run the following command: php auth0.php requireAuth($auth0);

Dependency Matrix

Required Modules

auth0/auth0-phpvlucas/phpdotenvguzzlehttp/guzzleguzzlehttp/psr7symfony/cache

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: auth0-php-api
Download link: https://github.com/auth0/agent-skills/archive/main.zip#auth0-php-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.