Technical & DevelopmentIntermediate
auth0-php
Add login, logout, and user profiles to PHP web applications.
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/auth0/agent-skills --skill auth0-phpnpx skills add https://github.com/auth0/agent-skills --skill auth0-phpOr paste this URL into your assistant to install:
Overview
What This Skill Does
Add login, logout, and user profile to a PHP web application using `auth0/auth0-php`.
Application
When to use this Skill
- Adding secure Auth0 authentication to a Php application
- Implementing standard login, logout, and token authentication flows in Php
- Managing user session state and securing frontend/backend routes using Auth0 SDKs
Documentation
Show Skills.md file
Auth0 PHP Web App Integration
Add login, logout, and user profile to a PHP web application using auth0/auth0-php.
Prerequisites
- PHP 8.2+ with extensions:
mbstring,openssl,json - Composer installed
- Auth0 Regular Web Application configured (not an API - must be an Application)
- If you don't have Auth0 set up yet, use the
auth0-quickstartskill first
When NOT to Use
- PHP APIs with JWT Bearer validation - Use
auth0-php-apifor stateless API token validation - Laravel applications - Use a dedicated Laravel integration with
auth0/laravel-auth0 - Symfony applications - Use a dedicated Symfony integration with
auth0/symfony - Single Page Applications - Use
auth0-react,auth0-vue, orauth0-angularfor client-side auth - Next.js applications - Use
auth0-nextjswhich handles both client and server - Node.js web apps - Use
auth0-expressorauth0-fastifyfor session-based auth
Quick Start Workflow
Lines 1 - 25 of 618
Recommendations