arif-rh / ci4-auth
PHPAuth for CodeIgniter 4
0.4.0
2021-06-28 12:07 UTC
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\Authphp 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