School Management System – CodeIgniter

School Management System

School Management System, is an open source project for people who wants to grab the core idea of the data process within the system. As well as, you can practice this system for the assignments too. Though, if you want to use it on the online project then I highly recommend implementing the php security. Since we just wanted to provide this system as a platform for beginners or intermediate programmer to study and learn how the data process from the frontend to the backend in the system.

This system is built with CodeIgniter – PHP framework, bootstrap, and jquery. This system, School Management System, is based on the Web Application. It provides advanced functionality run the daily basic requirement for the school program. The system can be manipulated by one user as an admin.

This application, there are some dependencies you will need to understand. For example, you want to add the section for a class. Without class information, the section information cannot be added to the system. Similarly, these concepts apply to the subject, student, and etc. Without any class and section, the subject, and student information cannot be created by the system.

Please read the below instruction to run the application on your system without any difficulties. There are few changes required in the source code to run the application. So Please follow the steps carefully.


  • Admin
  • Username: admin
  • password: password


  • Manage Class

    • Add class information
    • View, Update, and remove class information
  • Manage Section

    • Add section information
    • View, Update, and remove section information
  • Manage Subject

    • Add section information
    • View, Update, and remove section information
  • Manage Student

    • Add a single student information
    • Add bulk student information
    • View, Update, and remove student information
  • Manage Teachers

    • Add teacher information
    • View, Update, and remove teacher information
  • Manage Attendance

    • Add Teacher and Student attendance information
    • View, Update and Remove teacher and student attendance information
  • Manage Marksheet

    • Add, View, Update, and Remove marksheet name information
    • Add, View, Update, and Remove student obtained marks into the marksheet
  • Manage Accounting

    • Add Student Payment Information
    • View, Update, and Remove student payment information
    • Add, View, Update, and Remove expenses information
    • View Income information
  • Change Password
  • Change Username


  • PHP Version +5.4.4
  • Web Server ( Recommended : Apache with PHP and Mysqli )

Changing Port No

No need to worry. This is just a small task. All you need to do is:
Step 1: Go to the application > config > config.php as shown below.

After that go to base_url, and change or delete the port no as shown in below code:

$config['base_url'] = 'http://localhost:9080/sms/index.php/';

Download School Management System

Please Read:

To run this system, you need to create a database in the phpMyAdmin. Either you can create a database namely sms or something else. If you have a database name something else then, you have to change it in the source code. To change the database name in the source code.

Step 1: Go to the application > config > Database.php file.

Step 2: You will see the database name in the $db array. Change the name of the database whatever you desired. As shown below:

$db['default'] = array(
	'dsn'	=> '',
	'hostname' => 'localhost',
	'username' => 'root',
	'password' => '',
	'database' => 'sms',
	'dbdriver' => 'mysqli',
	'dbprefix' => '',
	'pconnect' => FALSE,
	'db_debug' => (ENVIRONMENT !== 'production'),
	'cache_on' => FALSE,
	'cachedir' => '',
	'char_set' => 'utf8',
	'dbcollat' => 'utf8_general_ci',
	'swap_pre' => '',
	'encrypt' => FALSE,
	'compress' => FALSE,
	'stricton' => FALSE,
	'failover' => array(),
	'save_queries' => TRUE

For Source Code:

For Database :

If this project really helped you guys, then please comment, and share. Thank you.

66 thoughts on “School Management System – CodeIgniter

  1. Hello I want to thank you very much for your videos because it helps me a lot in my learning and I encourage you to continue. thanks again

  2. Thanks for your information, I learn more about it, and come with a few ideas, which help to improve this system, it’s just an idea,,,,, thnx. //young developer //

  3. i am gettting this error,

    This site can’t be reached

    localhost refused to connect.
    Search Google for localhost 9080 sms index php dashboard

    I logged in once, after that it is showing this error

    1. Hi, thanks for the initialive of this project, it is very informative and helps me a lot in coding understanding. I am looking forward to following another one of your project.

  4. Your video tutorials are wonderful, may God Bless you with more wisdom.
    Please can we get the full video on ‘School Management System – CodeIgniter’

  5. Hi
    I am just wondering that the contents in index.html file only has “Directory access is forbidden.”
    Do I need to put some code for seeing login page?

    Thanks guys.

  6. Hello Sir tnx for this code with your permission may i use your program with some alterations so we could use for our students information for our school thank you very much..

  7. hy!
    the whole project do not work correctly. when i login as admin then i can’t add class or can’t do anything. no link work properly at admin dashboard. plz help me.

  8. Hey,
    I have watched the video. This project looks amazing.
    I need a bit of help here. I am on the login page but it is non responsive. I am using username: admin, password: password and environment is Xampp.

    Can you please help?

    Thanks a lot…

  9. Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in C:\wamp\www\sms\application\models\model_student.php on line 157

  10. thanks a lot for the SMS project… 🙂 i appreciate your efforts… if possible please add routine system in this project… it will help more… thanks again

  11. please can you help teaching me the basics of php routing, i was developping applications in java and i am good at it. i am also good on html,css,js

  12. pls help me on my problem it tells :

    A PHP Error was encountered
    Severity: Parsing Error
    Message: syntax error, unexpected ‘[‘, expecting ‘)’
    Filename: models/model_student.php
    Line Number: 157

    i dont know hoe to fix this

  13. Hello Guys,

    I am getting this error.

    Object not found!

    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

    If you think this is a server error, please contact the webmaster.

    Error 404

    Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24
    Could you please help me to solve it.

    Kind Regards,

  14. in my case the login screen is not working, on clicking login screen its doing nothing? do you know how to solve this problem?
    thanks for your reply.

  15. This site can’t be reached

    localhost refused to connect.
    Search Google for localhost 9080 sms index php

  16. I has been follow your step but it show this message :
    This site can’t be reached

    localhost refused to connect.
    Search Google for localhost 9080 sms index php

  17. please help, i am still in login page. I have changed config file
    $config[‘base_url’] = ‘http://localhost/sms/index.php/’; and create a database folder name sms and import your db file. what else to do please tell me ? please…

  18. Hi,

    Thanks for the amazing project, but when i click on save attendance under the attendance module there is no response, can anyone please help ?

    Thanks in advance.

  19. Thanks allot codersfolder team
    Hello guys there is problem when I click some buttons it says
    404 Page Not Found the page you requested was not found. Please help me what Can I do to fix this problem I think it caused misconfiguration
    Please and please help me friends

  20. login page is not working .when i type username and password but it is not navigate to dashboard.Again it was redirected to login page.How can i solve this.Where can i change the settings.

  21. Hi Dear,
    Directory path is C:\xampp\htdocs\sms but this is not running:- localhost/sms/index.php

    error:- No input file specified.

    please help me for this problem.

  22. Hello guys,
    I have got this error
    any one please help me

    Object not found
    The request URL was not found in this server . If u entered the url manually please check your spelling and try again

    Error 404

    Apache/2.4.4(win32) OpenSSL/0.9.8Y PHP/5.4.19

  23. Severity: Warning

    Message: mysqli::real_connect(): (HY000/1049): Unknown database ‘sms’

    Filename: mysqli/mysqli_driver.php

    Line Number: 161


    File: C:\xampp\htdocs\sms\index.php
    Line: 292
    Function: require_once

Leave a Reply

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