arif-rh / ci4-auth
PHPAuth for CodeIgniter 4
Installs: 1 176
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 1
Requires
- arif-rh/ci4-dynamic-model: ^0.3
- bjeavons/zxcvbn-php: ^1.0
Requires (Dev)
- codeigniter4/framework: ^4.1
- phpunit/phpunit: 8.5.*
README
This package is adopted from PHPAuth, but completedly rewrited for easy implementation with CodeIgniter 4.
Installation
composer require arif-rh/ci4-auth
- make sure you have set you database config properly
php spark migrate -n Arifrh\Auth
php spark db:seed \\Arifrh\\Auth\\Database\\Seeds\\AuthSeeder
Features
- Register
- Activation email
- Login
- Request reset password
- Encrypt password using bcrypt
- Prevent brute force attack by limiting request