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

v1.1.4 2025-08-18 21:36 UTC

This package is auto-updated.

Last update: 2025-12-19 08:57:11 UTC


README

Latest Version CI4 Compatibility License: MIT Issues Stars

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

  1. Insall by composer:
composer require srvkit/auth
  1. Publish config and views:
php spark auth:setup
  1. Run migrations:
php spark migrate --all