This project is a PHP-based web application developed by Iqbolshoh Ilhomjonov. The application includes various features and functionalities such as user alerts, data tables, a dynamic navigation menu, and a customizable admin panel with a banner.
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/iqbolshoh/php-admin-panel.git
- Navigate to the project directory:
cd php-admin-panel
- Make sure you have a local server setup (e.g., XAMPP, WAMP, MAMP) and place the project files in the server's root directory.
To use the application, open your browser and navigate to http://localhost/php-admin-panel
. This will load the main page of the application.
The $menuItems array defines the sidebar menu. Each item includes:
menuTitle: The section name (e.g., "Menu"). icon: The section icon (e.g., "fas fa-home"). pages: Subpages with "title" (name) and "url" (link). Example: To add or update:
$menuItems = [
[
"menuTitle" => "Menu",
"icon" => "fas fa-home",
"pages" => [
[
"title" => "Home",
"url" => "index.php",
],
[
"title" => "Alerts",
"url" => "alerts.php",
],
],
],
[
"menuTitle" => "Settings",
"icon" => "fas fa-cogs",
"pages" => [
[
"title" => "Profile",
"url" => "profile.php",
],
],
]
];
Contributions are welcome! If you have suggestions or want to enhance the project, feel free to fork the repository and submit a pull request.
I love connecting with new people and exploring new opportunities. Feel free to reach out to me through any of the platforms below: