Simple User Management System in PHP CodeIgniter 4 Free Source Code



This simple project is a User Management System. This is a web-based application project developed in PHP, CodeIgniter4, and MySQL Database. This project application is a simple representation of the User Management feature for a web application. It can give an idea or reference to the new programmers, IT/CS students, or those who are new to CodeIgniter 4 Framework in terms of managing users, user roles, and user restrictions. It was developed with the Bootstrap 5 Framework for the user interface. It consists of user-friendly features and functionalities

About the User Management System

This project was developed using the following:

  • PHP version >= 7.4
  • CodeIgniter 4
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • Font Awesome
  • Bootstrap

This User Management System Source Code in PHP CodeIgniter Project contains different functionalities that are commonly found on web applications. This lets users register an account and log in with their valid credentials. The project also consists of Authentication and User Restriction functionalities. The application can be accessed by 2 types of user roles which are the Administrator and the User. The Administrator user has the privilege to access and manage the list of registered users. He or She can update the status of the users to ActiveInactive, and Banned. Normal Users can only Register, Login/log out, Access Home Page, and update their Account Credentials. New users are marked as "Inactive" or "Not yet validated" after their successful registration. The administrator users are the only ones who can update their status. The user can't users list and the system will only throw a 404 page or "Page Not Found" page.


  • Authentication
  • Registration
  • Home Page
  • User List
  • Update User Details
  • Delete User
  • Update User Details
  • Update Account Credentials
  • Login and Logout

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features

Login Page

User Management System

Registration Page

User Management System

Home Page

User Management System

User List Page

User Management System

Update User Form Page

User Management System

How to Run ??


  • Download and Install any local web server such as XAMPP.
  • Download the provided source code zip file. (download button is located below)

System Installation/Setup

  1. Open your XAMPP Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Open your Command Prompt or Terminal and change the current directory to your source code directory path.
  6. Execute the following command for the database migration.
    • php spark db:create ums_db
    • php spark migrate
    • php spark db:seed Auth
  7. Browse the User Management System in a browser. i.e. http://localhost/ci4_ums/.

Admin Default Access:

Email: [email protected]
Password: admin123


That's it. You can now explore the features and functionalities of this User Management System in PHP using CodeIgniter 4 Framework. I hope this will help you with what you are looking for and you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byJames Smith (not verified)on Tue, 02/21/2023 - 18:48

I'm struggling to get the 'spark' commands to work. Do you have an sql import so I can create the database manually?

Add new comment