Technical & DevelopmentIntermediate
auth0-php-api
Secure PHP API endpoints with JWT Bearer token validation.
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/auth0/agent-skills --skill auth0-php-apinpx skills add https://github.com/auth0/agent-skills --skill auth0-php-apiOr paste this URL into your assistant to install:
Overview
What This Skill Does
Protect PHP API endpoints with JWT access token validation using `auth0/auth0-php` in API mode (`STRATEGY_API`).
Application
When to use this Skill
- Adding secure Auth0 authentication to a Php api application
- Implementing standard login, logout, and token authentication flows in Php api
- Managing user session state and securing frontend/backend routes using Auth0 SDKs
Documentation
Show Skills.md file
Auth0 PHP API Integration
Protect PHP API endpoints with JWT access token validation using auth0/auth0-php in API mode (STRATEGY_API).
Prerequisites
- PHP 8.2+ with extensions:
mbstring,openssl,json - Composer installed
- Auth0 API resource configured (not an Application - must be an API)
- If you don't have Auth0 set up yet, use the
auth0-quickstartskill first
When NOT to Use
- PHP web applications with login/logout flows - Use
auth0-phpfor session-based authentication - Laravel applications - Use
auth0/laravel-auth0which has built-in API guard support - Symfony applications - Use
auth0/symfonywith its security bundle - Single Page Applications - Use
auth0-react,auth0-vue, orauth0-angularfor client-side auth - Issuing tokens - This skill is for validating access tokens, not issuing them
Quick Start Workflow
Lines 1 - 25 of 516
Recommendations
Explore other random skills
CreativeIntermediate
gsap-timeline
Timelines with sequencing, position parameter, labels, nesting, and playback control
CreativeIntermediate
gsap-scrolltrigger
ScrollTrigger for scroll-linked animations, pinning, scrub, and refresh handling
CreativeIntermediate
gsap-plugins
Plugins including ScrollToPlugin, Flip, Draggable, SplitText, SVG, and physics