A simple School Management System built using native PHP, designed to manage data for students, teachers, classrooms, and class. The system includes role-based authentication for Admin and User, and supports full CRUD operations.
-
Authentication
- Login based on roles (
Admin&User) - Session-based access control for secure login
- Login based on roles (
-
Data Management (CRUD)
- Student Data
- Teacher Data
- Class Data
- Classroom Data
-
User Roles and Interfaces
- Admin Dashboard
- Full access to manage all school data
- User Dashboard
- Limited access to view specific data
- Admin Dashboard
- PHP Native (without frameworks)
- MySQL (Database)
- HTML & CSS
- JavaScript
- Sessions & Role-based Access Control (RBAC)
Follow the steps below to install, configure, and run the School Management System on your local machine.
- Clone or Download the Project
git clone https://github.com/your-username/school-system-php.git
cd school-system-php-
Or Download ZIP
- Go to the github repository.
- Click "Code" > "Download ZIP".
- Extract the ZIP into your local server directory (e.g., www for laragon dan htdocs if using XAMPP)
-
Set Up the Database
- Open your browser and go to http://localhost/phpmyadmin
- Click New, then create a databse named
sekolah
- Click the new database, then go to the import tab
- Choose the SQL file: database/sekolah.SQL
- Click Go to import the database
-
Configure the Database Connection
- Open the file:
connection.php
- Make sure the connection settings match your local environment:
$host = 'localhost'; $dbname = 'sekolah'; $user = 'root'; $pass = '';
Adjust the $user and $pass if you're not using default XAMPP credentials.
-
Start your local server
-
Open XAMPP or laragon
-
Start the services: Apache and MySQL
-
Run the Application
-
Open your browser
-
Gor to:
http://localhost/sekolah/- Name: Farel Haryanto
- Email: farelharynto@gmail.com
- Linkedin: https://www.linkedin.com/in/farel-haryanto-790553343/
- Created on: 18-12-2024



