php-admin-panel
php-admin-panel copied to clipboard
π¨ PHP Admin Panel is a lightweight, customizable admin dashboard built with pure PHP β no frameworks required. β¨Designed for small to medium projects, it offers a clean UI, dynamic sidebar, alerts,...
π PHP Admin Panel
This project is a PHP-based web application π₯οΈ developed by Iqbolshoh Ilhomjonov π¨βπ». The application includes various features such as user alerts, data tables, a dynamic navigation menu, and a customizable admin panel with a banner ππ―.

βοΈ Installation ποΈ
To run this project locally, follow these steps:
1οΈβ£ Clone the repository π:
git clone https://github.com/iqbolshoh/php-admin-panel.git
2οΈβ£ Navigate to the project directory π:
cd php-admin-panel
3οΈβ£ Set up a local server π (e.g., XAMPP, WAMP, MAMP) and place the project files in the server's root directory (htdocs/www).
π Usage π―
To use the application, open your browser π and navigate to:
π http://localhost/php-admin-panel
This will load the main page of the application. π
π Adding Sidebar Menu Items ποΈ
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: Adding/Updating Menu Items
$menuItems = [
[
"menuTitle" => "Dashboard",
"icon" => "fas fa-tachometer-alt",
"pages" => [
["title" => "Home", "url" => "index.php"]
],
],
[
"menuTitle" => "Settings",
"icon" => "fas fa-cog",
"pages" => [
["title" => "Profile", "url" => "profile.php"]
],
]
];
π₯ Technologies Used
π 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: