School Management System in PHP with Source Code

An automated project based on School Management System which uses PHP Language. Following PHP project contains all essential features which can be in use for the first-year, second-year as well as final-year IT students for their college projects. It has important features that will allow all the users to interact in a way that school administrators interacts with their employees, students in terms of dealing with their records, exam schedules, payments, and so on. This system as well as the web application’s concept is all clear, it’s the same as real-life scenarios and well-implemented on it. To download free automated school management system project in PHP with source code files, please scroll down to the bottom of this post for the Download button.

About School Management System Project

Moving on, this school management system project in PHP focuses mainly on dealing with students and teachers regarding their pieces of information, attendance, course, and other information. Also, the system displays all the available data such as total students, staff, teachers, attendance, payment, etc. The project is divided into five categories: Admin, Student, Teacher, Staff, and Parents Login. In an overview of this web app, the admin has full control of the system, where he/she has full access to the system. An admin can manage student’s, teacher’s, staff’s, parent’s accounts. Also, he/she can process payments of teachers, staff and maintain student fees. In terms of course and exam schedules, the user has to fill up various details in order to add a course by assigning a particular teacher. Later, the user can set up an exam schedule with the help of course ID, date, year, and time.

All the reports, as well as the attendance sheet, can also be seen by the admin account. After entering for attendance of a particular teacher or staff, the system displays his/her records under the attendance section with a date. The admin can update teachers’ and staff’s salaries. Besides, the system also provides a feature to register parent’s accounts of each and every student. Under all these records, the user has to provide a photo of the identity of the students as well as teachers and staff.

Teacher Panel

After logging in as a teacher, the user can manage a particular student’s grade by selecting class, course, and student’s name. Under the courses section, the system displays all the available courses for that particular teacher. The teacher has to manage all his student’s attendance by selecting classes and courses. Also, the teacher can view his/her salary reports, attendance sheets as well. Besides, the teacher account has the ability to create a student’s overall report stating about his student’s progress. For easiness and time saving, he/she can simply search for his student’s information using the student’s id or name.

Student and Parents Panel

Under the student section, the student can view his/her course and results which displays the result with the teacher’s ID, name, email, section, classroom, and grades. Rather than these, the student can only view upcoming exam schedules and attendance sheets. Talking about the Parents panel, the user can simply view his/her children’s information as well as course and results. The parents can also submit their children’s payments from the child payments section. The parents can also look for their children’s reports for their overall progress status and attendance sheets.

Staff Panel

On the other hand, the system allows staff accounts to update their account information, view his/her salary statements and check attendance sheets too. Under the salary section, it displays a particular staff’s monthly salary with payable salary for the month which is calculated after his/her attendance record. From the attendance section, the system shows the attendance of the current month with absent dates. Amongst all of the accounts, the staff account has the minimum features.

Last but not least, a clean and simple dashboard is presented with plain and simple color combinations for greater user experience while using this automated school system project in PHP. For its UI elements, Vanilla CSS is on board. Presenting a new school management system project in PHP MySQL which includes an admin panel with student, teacher, staff, and parents login panel that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:

  • Admin Panel
  • Student Panel
  • Teacher Panel
  • Staff Panel
  • Parents Panel
  • Student management system
  • Teacher management system
  • Parent management
  • Staff management system
  • Course management
  • Attendance management
  • Maintain exam schedules
  • Teacher and Staff’s salary list
  • Generate student’s overall report
  • Enter student’s payment
  • Account management
  • Manage students grade
  • Students attendance management
  • View student’s grade results
  • Search portal
  • Salary reports
  • View child’s information – Parent’s Panel
  • View child’s course results – Parent’s Panel
  • Make Child’s fees payment – Parent’s Panel
  • View child’s report and attendance – Parent’s Panel
Project Name:School Management System
Language/s Used:PHP, JavaScript
PHP version (Recommended):5.6.3
Type:Web Application
Developer:Sagor Mollik
School Management System – Project Information

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
  • There you’ll find a folder naming “htdocs”.
  • Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
  • Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
  • Then, go to URL “http://localhost/phpmyadmin“.
  • Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
  • Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
  • After setting up all these, go to URL “http://localhost/[ ENTER_PROJECT_FOLDER_NAME_HERE ]
  • All the login details are provided inside the project folder, check that out and enter in order to use it.

And there you have it, a full setup of School Management System Project in PHP. For this particular PHP project, PHP Version 5.6.3 is required because the project does not operate with the latest PHP version. So, users with the latest PHP version (greater than 5.6.3) might face various problems while operating it. As a result, you’ll need to downgrade your PHP version (only if you’re using the latest version) at the moment. Download Free School Management System Project in PHP MySQL with Source Code. So, this school management system is an advanced automated PHP project for all the beginner as well as intermediate levels that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more onto it.

Free Download School Management System Project in PHP with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose


  1. Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\SchoolMgSystem-PHP\service\mysqlcon.php:7 Stack trace: #0 C:\xampp\htdocs\SchoolMgSystem-PHP\service\check.access.php(2): include_once() #1 {main} thrown in C:\xampp\htdocs\SchoolMgSystem-PHP\service\mysqlcon.php on line 7
    how do I solve this error

    1. This means you’ve PHP 7 on your device. And now mysql_connect is deprecated in PHP 7. The recommended PHP version for this particular project is PHP 5.6 (as mentioned in the post’s overview table)
      Try changing “mysql_connect” to “mysqli_connect” as in connection file.

  2. error this source code:
    PROJECT NAME: School Management System
    Try changing “mysql_connect” to “mysqli_connect” as in connection file.

    Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in C:\xampp\htdocs\SchoolMgSystem-PHP\service\mysqlcon.php:8 Stack trace: #0 C:\xampp\htdocs\SchoolMgSystem-PHP\service\check.access.php(2): include_once() #1 {main} thrown in C:\xampp\htdocs\SchoolMgSystem-PHP\service\mysqlcon.php on line 8

    1. how can i make changes in the code? i want to change the background of the home page and also wanted to make more changes but i am unable to. how should i make the changes?

  3. How to add subject using admin panel. there is no option to add subject . also unable to link subject with teacher using admin panel.

  4. Fatal error: Uncaught ArgumentCountError: mysqli_select_db() expects exactly 2 arguments, 1 given in C:…………..
    after changing mysql to mysqli….this error is shown….what to do?

    1. correct usage of mysqli_select_db requires two arguments: one is MySQLi connection object and the other one is the name of database.
      this is just a sample, you’ve to adjust according to your own:
      $database_name = 'schoolmsdb';
      mysqli_select_db($connection, $database_name);

      ‘$connection’ could be different in that project, please adjust it accordingly.

  5. Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\SchoolMgSystem-PHP\service\mysqlcon.php:7 Stack trace: #0 C:\xampp\htdocs\SchoolMgSystem-PHP\service\check.access.php(2): include_once() #1 {main} thrown in C:\xampp\htdocs\SchoolMgSystem-PHP\service\mysqlcon.php on line 7

    1. that’s due to your latest version of php. the use of the MySQL extension that has been deprecated in recent PHP versions. consider using the MySQLi or PDO extension instead. Update your code to use mysqli_connect() or PDO for database connections.

Leave a Reply

Your email address will not be published. Required fields are marked *