Home
Softono
php-roles-manager

php-roles-manager

Open source PHP
11
Stars
1
Forks
0
Issues
1
Watchers
1 year
Last Commit

About php-roles-manager

php-roles-manager is a user management system built with PHP and MySQL that provides secure authentication, role-based access control, and user administration. It supports user registration, login with password hashing, and user blocking capabilities. The system distinguishes between admin and regular user roles, each with their own dashboards and specific permissions. Admins can manage users while regular users have limited access based on their role. Additional features include profile image uploads with encryption and role-based page access controls. The frontend uses HTML, CSS, Bootstrap, JavaScript, and jQuery. It is suitable for web applications requiring solid user access management and can serve as a foundation for projects needing authentication and authorization. The project is open-source under the MIT License and includes a SQL database file for easy setup. Default credentials are provided for testing the admin and user accounts.

Platforms

Web Self-hosted

Languages

PHP

Links

πŸ›‘οΈ PHP User Role Manager

This repository is a user management system built using PHP. It includes functionalities for user registration, login, and role management.

πŸ” Login

πŸ–₯ Admin Login: iqbolshoh
πŸ‘€ User Login: user
πŸ”‘ Password: IQBOLSHOH

✨ Features

βœ… πŸ” User Roles – Admin & User roles with specific access controls.
βœ… πŸ”‘ Secure Authentication – Password hashing for secure login & registration.
βœ… πŸ“‚ File Uploads – Users can upload profile images (all images except default.png are securely encrypted).
βœ… πŸ”’ Role-Based Access – Different pages & functionalities accessible based on user roles.

πŸ“Š Preview Pages

🏒 Admin Dashboard

βš™οΈ Admin Panel

πŸ‘€ User Dashboard

πŸ‘₯ User Panel

πŸ› οΈ Setting Up the Project

πŸ“₯ 1. Clone the Repository

git clone https://github.com/Iqbolshoh/php-user-role-manager.git
cd php-user-role-manager

πŸ—„οΈ 2. Import the Database

mysql -u yourusername -p yourpassword < database.sql

βš™οΈ 3. Configure the Database Connection in config.php

define("DB_SERVER", "localhost");
define("DB_USERNAME", "root");
define("DB_PASSWORD", "");
define("DB_NAME", "roles");

πŸ–₯ Technologies Used

HTML CSS Bootstrap JavaScript jQuery PHP MySQL

πŸ“œ License

This project is open-source and available under the MIT License.

🀝 Contributing

🎯 Contributions are welcome! If you have suggestions or want to enhance the project, feel free to fork the repository and submit a pull request.

πŸ“¬ Connect with Me

πŸ’¬ I love meeting new people and discussing tech, business, and creative ideas. Let’s connect! You can reach me on these platforms: