A simple authentication and user management system for CodeIgniter 4
Benefits:
- Pre-built Dashboard page
- Pre-built Account page
- Pre-built Profile page
- Pre-built Settings page
- User login, User registration, Recover password functions
- User acess logs for tracking
- User Management: Register, Modify, and Delete users
Codeigniter 4 Auth and User management provides complete basic authentication system, account viewing, profile editing, and dashboard viewing.
- Download or clone the repo to your desktop or www folder.
- Change directory to
cd my-app
in your www folder. - Import
my-app/database.sql
to your MySQL or MariaDB Server, create a user and grant all rights to the importedDB
- Rename
.env.example
to.env
- Change the App URL to
app.baseURL = 'http://localhost/my-app/public/'
- Update database config, change the lines where
database.default.database =
,database.default.username =
,database.default.password =
, anddatabase.default.hostname =
in .env file. - Run
php spark serve
to serve live application in the terminal. - Alternatively, you can browse the app using a web browser, by entering this URL address
http://localhost/my-app/public
. - Login using default account username
admin@example.com
, passwordadmin
PHP
>= 7.1.3MySQL
5.x or newer versionsNginx
orApache
(recommended) http server- Required PHP extensions:
OpenSSL
,PDO
,Mbstring
,Tokenizer
,Ctype
,JSON
If you are running on local development, we recommend using AMPPS
, or XAMPP
stack which has all the system requirements available in Windows, Mac, Linux Installers.
Thank you for considering contributing to the Codeigniter 4 Auth and User management!
If you discover a security vulnerability within Codeigniter 4 Auth and User management, please submit a pull request. All security vulnerabilities will be promptly addressed.
The Codeigniter 4 Auth and User management is open-source software licensed under the Apache license 2.0.
Copyright (c) 2020-present, Pro Dev Ph