Parking Management System – Codeigniter

The parking Management System is the most complete and versatile parking management system. This system is an open-source project. We have provided the most advanced backend management functionality with parking slots, parking rates, parking categories, and more of the best functionality.

Parking Management System is an open-source project for people who wants to grab the core idea of the data process within the system. This system is built on CodeIgniter – PHP framework, adminlte, bootstrap, javascript, jQuery, and Ajax. This system, Parking Management System, is based on the Web Application. It provides advanced functionality and runs daily basic requirements for the parking system. Many users can manage work with the system based on their user permission.

The admin can create as many users as he wants based on the user’s permission. The permission is set up in the group section. The super admin can create the group with limited functionality. Please have a look at the video which will make
the concept more clear to you.

In this application, there are a lot of dependencies that you will have to understand. For instance, to create the parking information, you must have the parking category, rates, and slot information on the system. Without them the parking information is incomplete.

Please follow each and every step to run this system on your system. You will need to make a few changes to the code to run this application our your design. I hope you have installed XAMPP (windows), and MAMP (MACOS) on your system.

The source code and the database are provided at the end of the tutorial. Please download them and follow each and every step to successfully install and run the system.

Users

  • Admin

Features

  • Manage User

    • Add new user detail
    • View, Update, and remove user information
  • Manage Groups

    • Add new group information
    • View, Update, and remove group information
  • Manage Category

    • Add category information
    • View, Update, and remove category information
  • Manage Rates

    • Add rate information
    • View, Update, and remove rate information
  • Manage Slot

    • Add slot information
    • View, Update, and remove slot information
  • Manage Parking

    • Add parking information
    • View, Update, and remove parking information
    • Update the slot availability
  • Reports

    • View the paid parking information based on the yearly
  • Manage Company information

    • Update the company information
  • View Profile information

    • View user profile information
  • Manage Setting

    • Update user information
    • Update password information

Requirements

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

Installing source code and database guidelines

Step 1: Download the database and source.

Step 2: Change port no.

Go to the application > config > config.php as shown below.

config

After that go to base_url, and update or remove the port no based on your system configuration:

[css autolinks=”false” classname=”myclass” collapse=”false” firstline=”1″ gutter=”true” highlight=”” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”true” title=””]
$config[‘base_url’] = ‘http://localhost:8888/parking’;
[/css]

Step 3: Create the database and import the SQL

Go to http://localhost:8888/phpmyadmin, and click on the database section. There create the database name as “parking”.

After that click on the created database and import the database file which has been provided.

Now, Go to the application > config > Database.php file.

folder_structur

In this file there are 3 things to update. They are username, password, and database.

username: Change username based on database user’s username
password: Change password based on database user’s password
database: Change database name if you different database name


$db['default'] = array(
   'dsn'	=> '',
   'hostname' => 'localhost',
   'username' => 'root',
   'password' => 'root',
   'database' => 'parking',
   '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
);

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

CHANGELOG

1.1>
* Fixed the session issue
* Fixed the empty string core/Output.php
* Fixed the setCookie() deprecated issue.

System Live Preview

Live Preview

For Source Code:

Download

Online 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 PHP security. Since we just wanted to provide this system as a platform for beginners or intermediate programmers 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 to run the daily basic requirement for the school program. The system can be manipulated by one user as an admin.

In this application, there are some dependencies you will need to understand. For example, you want to add a section for a class. Without class information, the section information cannot be added to the system. Similarly, these concepts apply to the subject, student, 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 a few changes required in the source code to run the application. So please follow the steps carefully.

Users

  • Admin
  • Username: admin
  • password: password

Features

  • 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 mark sheet 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

Requirements

  • 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.
config

After that go to base_url, and change or delete the port no as shown 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 phpMyAdmin. Either you can create a database namely sms or something else. If you have a database name or 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.
folder_structur

Step 2: You will see the database name in the $db array. Change the name of the database to 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
);

CHANGELOG

1.1>
* Fixed the session issue
* Fixed the empty string core/Output.php
* Fixed the setCookie() deprecated issue.

System Live Preview

Live Preview

For Source Code:
Download

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

CodeIgniter Tutorial – Register and Login with Ajax

Codeigniter is a PHP framework that contains libraries, helpers, plugin-in, and other resources. It will make the PHP codes simple, quick, and user-friendly. It is a lightweight MVC programming technique to keep the business logic separate from the layout of the application. MVC stands for Model View Controller which is a software development method splitting the data layer (Model), the business logic (Controller), and the layout of the application (View). With the help of this framework, we will be building the simple Register and Login application with Ajax.

Table of Content

  1. Introduction
  2. Configure Config File
  3. Configure Database
  4. Database Connection
  5. Register and Login Demonstration
  6. Source Code

Introduction

This tutorial will teach you to create a register and login system with Ajax. The registration and login system is the most important role in the web application. The user’s login status will be checked by the session.

The source code of this application is provided at the end of this tutorial, you can easily download them by clicking on the download button. As well as the database is also required to run the application correctly. So please do not forget to download the database and run them into the phpMyAdmin.

Configure Config File

In this part, Go to the config.php file i.e. application/config/config.php and you must change the base URL root to work the code properly without any errors. You will have to modify the base URL value in the config file to help the CodeIgniter to guess the protocol and path of your installation.


<?php
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
| http://localhost/codeigniter_register_login/
*/
$config['base_url'] = 'http://localhost:9080/codeigniter_register_login/';

?>

Configure Database

Database Name: codeigniter_register_login
Table Name: users
Table Column: id, username, password, salt, name, contact

To create the database for this tutorial, either you can download the SQL file which is provided at the end of this tutorial or copy and paste the following SQL command into your MYSQL Database.


CREATE DATABASE `crud_datatables_codeigniter`;

CREATE TABLE `codeigniter_register_login`.`users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `salt` text NOT NULL,
  `name` varchar(255) NOT NULL,
  `contact` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Database Connection

In database.php file i.e. [application/config/database.php], contains a database connection. If you have a different database name then change the database name in the database.php file highlighted below.


$db['default'] = array(
	'dsn'	=> '',
	'hostname' => 'localhost',
	'username' => 'root',
	'password' => '',
	'database' => 'codeigniter_register_login',
	'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
);

Source Code !!

Download

CRUD – Codeigniter, Datatables, Ajax

Codeigniter is a PHP framework containing libraries, helpers, plugin-in, and other resources. It will make the codes in PHP simple, quick, and user-friendly.  It is a lightweight MVC programming technique to keep the business logic separate from the display logic. MVC stands for Model View Controller which is a software development method splitting the data layer (Model), the business logic (Controller), and the layout of the application (View). With the help of this framework, we’ll be building a simple CRUD with DataTables and Ajax.

Table of Content

  1. Introduction
  2. Configure Config File
  3. Configure Database
  4. Database Connection
  5. CRUD Demonstration
  6. Source Code

1. Introduction

CRUD stands for Create, Retrieve, Update, Delete to interact with the database table’s data.  As a web developer, CRUD is a usual work in your career, and with the integration of the datatables plugin, it will make the table more interactive, feasible, and Better UI. You can download the source code and database SQL query at the end of this tutorial. You will have to make some changes in the source code to run the program

2. Configure Config file

In this part, Go to the config.php file i.e. application/config/config.php and you must change the base URL root to work the code properly without any errors. You will have to modify the base URL value in the config file to help the CodeIgniter to guess the protocol and path of your installation.


<?php
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
| http://localhost/crud_datatables_codeigniter
*/
$config['base_url'] = 'http://localhost:9080/crud_datatables_codeigniter';

?>

3. Configure the Database

Database Name: crud_datatables_codeigniter
Table Name: members
Table Column: id, fname, lname, age, contact, address

To create the database for this tutorial, either you can download the SQL file which is provided at the end of this tutorial or copy and paste the following SQL command into your MYSQL Database.


CREATE DATABASE `crud_datatables_codeigniter`;

CREATE TABLE `crud_datatables_codeigniter`.`members` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fname` varchar(255) NOT NULL,
  `lname` varchar(255) NOT NULL,
  `age` varchar(255) NOT NULL,
  `contact` varchar(255) NOT NULL,
  `address` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

4. Database Connection

In database.php file i.e. [application/config/database.php], contains a database connection. If you have a different database name then change the database name in the database.php file highlighted below.


$db['default'] = array(
	'dsn'	=> '',
	'hostname' => 'localhost',
	'username' => 'root',
	'password' => '',
	'database' => 'crud_datatables_codeigniter',
	'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
);

6. Source Code

Download