srvkit / auth
An advance and flexible authentication package for codeigniter 4+
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 1
pkg:composer/srvkit/auth
Requires
- firebase/php-jwt: 6.11
Requires (Dev)
- codeigniter4/framework: ^4.2.3
- phpunit/phpunit: 11.5.x-dev
- vimeo/psalm: ^6.5
README
Srvkit Auth is a plug-and-play authentication system for CodeIgniter 4, designed to be developer-friendly, cleanly structured, and easy to extend.
It supports login, registration, password reset, token-based auth, and is flexible enough for JWT or session-based use.
✨ Features
- 🚀 Simple & advance plug-in for CI4 (Composer-ready)
- 🔐 Login / Register / Forgot Password / Reset Password
- 🔁 Refresh token + Access token logic
- 📱 Multi-device refresh token handling
- 🪪 JWT and opaque token support
- 📩 Magic Link support (Forgot Password, Email Login)
- 🧱 Modular: Easily extensible via services, traits, and config
- 🌗 API and web (form) both supported
📦 Installation
- Insall by composer:
composer require srvkit/auth
- Publish config and views:
php spark auth:setup
- Run migrations:
php spark migrate --all