ai-agent

Hyperf-auth for Easy Auth

Streamline authentication with hyperf-auth.
194 stars37 forksPHPGuide quality 8/10Updated 1/11/2024100% free · open source
What it does

Hyperf-auth is a authentication component for Hyperf, a PHP framework, that simplifies user authentication and authorization

When to use it
  • Building a web application with Hyperf that requires user authentication
  • Implementing role-based access control in a Hyperf project
  • Integrating social media login functionality in a Hyperf application
Ready-to-paste prompt
Use the `Auth::attempt(['username' => 'username', 'password' => 'password'])` method to authenticate a user
Heads up: Make sure to configure the `user_provider` in the `config/autoload/auth.php` file to point to your user model, otherwise authentication will not work
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/hyperf-auth && curl -fsSL https://workflowstacks.com/api/skills/hyperf-auth/claude-skill -o ~/.claude/skills/hyperf-auth/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Hyperf-auth for Easy Auth works
Codeflow
Free to inspect

Hyperf-auth for Easy Auth is a small PHP project (~1.1k lines across 26 code files, plus 5 test files). Setup is light: install PHP, run one command. Last commit 32 months ago, MIT license, has a test suite.

Size
Small codebase
~1.1k lines · 26 code files · 9 min skim
Setup
Light setup
Install PHP, run one command.
Runs on
PHP
No API keys detected
PHP 99%Shell 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    composer.json
    Dependencies and the commands it exposes
  3. 3
    src/AuthAbility.php
    Inside src/ — the main logic begins here
What's in each folder
src/Core code — the actual logic24 files
publish/Folder1 files
tests/Tests — proof it works6 files
READMEHas testsThin docsCI checksMIT licenseLast update 32 mo ago
Quick Actions
Details
Creator
qbhy
Language
PHP
Category
ai-agent
Published
5/22/2020

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.