A Micro Project Report On

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

A Micro Project Report on

HOTEL MANAGEMENT SYSTEM USING PHP

Submitted to the CMR Institute of Technology in partial fulfillment of the requirement for the
award of laboratory Scripting Languages Lab of II-B.tech I semester.

DEPARTMENT OF ELECTRONICS AND COMMUNICATION


ENGINEERING

Submitted by

D. Puneeth 22R01A0418
D. Reddy sneha latha 22R01A0419
E. Pradeep 22R01A0420
G. Anil kumar 22R01A0421

Under The Guidance Of

Dr.B.V.Krishnaveni
CMRINSTITUTEOFTECHNOLOGY
(UGC AUTONOMOUS)
(Approved byAICTE, Affiliated to JNTUH, Kukatpally, Hyderabad)

Kandlakoya, Medchal Road, Hyderabad (2022-2023)

2023-2024
DEPARTMENT OF ELECTRONICSAND COMMUNICATION
ENGINEERING
CERTIFICATE

This to certify that a Micro Project entitled with “Createafilemanagement system using shell
script

Submitted by

D. Puneeth 22R01A0418
D. Reddysnehalatha 22R01A0419
E. Pradeep 22R01A0420
G. Anil kumar 22R01A0421

In partial fulfilment of the requirement for award of the “Scripting Languages Lab” of II - B.
Tech I- Semester in ECE towards a record of a Bonafidework carried out under our guidance and
supervision.

Signature of faculty Signature of HOD


Dr.B.V.Krishnaveni Dr.K.Niranjan Reddy
( head of the department)
ACKNOWLEDGEMENT
We are extremely grateful to Dr M. Janga Reddy, Director, Dr B. Satyanarayana, principal
and Dr. Niranjan Reddy Head of the Department, Dept of Electronics and Communication
Engineering. CMR Institute of inspirstion and valuable guidance during the entire duration.

We are extremely thankful to our Scripting Languages Lab faculty in-charge


Dr.V.B.KrishnaveniDept of Electronics and Communication Engineering, CMR Institute of
Technology for her constant guidance, encouragement and moral support throughout the
project.

We express our thanks to all staff members and friends for all the help and coordination
extended in bringing out this project successfully in time.

Finally, we are very much thankful to our parents and relatives who guided directly and
indirectly for successful

D. Puneeth 22R01A0418
D. Reddy sneha latha 22R01A0419
E. Pradeep 22R01A0420
G. Anil kumar 22R01A0421
ABSTRACT:
This project aims at creating on Hotel Management System which can be used by
Admin and Customers. The admin to advise/publish the availability of rooms in
different hotels and customers are checking the availability of room in required hotel.
Customers should be able to know the availability of the rooms on a particular date
to reserve in hotel. They should be able to reserve the available rooms according to
their need in advance to make their stay comfortable. The Admin hands the booking
information of customers. The users can register and log into the system. The
administrator will know the details of reservation and daily income. The hotel
department maintain the seat availability and booking details in certain database. This
project provides high security to Admin and user information.

INTRODUCTION:

The project, Hotel Management System is a web-based application that allows the
hotel manager to handle all hotel activities online. Interactive GUI and the ability to
manage various hotel bookings and rooms make this system very flexible and
convenient. The hotel manager is a very busy person and does not have the time to
sit and manage the entire activities manually on paper. This application gives him
the power and flexibility to manage the entire system from a single online system.
Hotel management project provides room booking, staff management and other
necessary hotel management features. The system allows the manager to post
available rooms in the system. Customers can view and book r oom online. Admin
has the power of either approving or disapproving the customer’s booking request.
Other hotel services can also be viewed by the customers and can book them too.
The system is hence useful for both customers and managers to portable manag e the
hotel activities.
STEPS TO HOST THE SYSTEM
1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/
4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on the databases tab
6th Step: Create a database naming “hotel” and then click on the import tab
7th Step: Click on browse file and select “hotel.sql” file which is inside the “Hotel” folder
8th Step: Click on go.
After Creating Database,
9th Step: Open a browser and go to URL http://localhost/Hotel/

SOURCE CODE:
#!/usr/bin/env php

<?php

define('LATEST_RELEASE', '^4.0');

define('GITHUB_URL', 'https://github.com/codeigniter4/codeigniter4');

/*

* --------------------------------------------------------------------

* Stability Toggle

* --------------------------------------------------------------------

* Use this script to toggle the CodeIgniter dependency between the

* latest stable release and the most recent development update.

* Usage: php builds [release|development]

*/

// Determine the requested stability

if (empty($argv[1]) || ! in_array($argv[1], ['release', 'development']))


{

echo 'Usage: php builds [release|development]' . PHP_EOL;

exit;

$dev = $argv[1] == 'development';

$modified = [];

/* Locate each file and update it for the requested stability */

// Composer.json

$file = __DIR__ . DIRECTORY_SEPARATOR . 'composer.json';

if (is_file($file))

// Make sure we can read it

if ($contents = file_get_contents($file))

if ($array = json_decode($contents, true))

// Development

if ($dev)

// Set 'minimum-stability'

$array['minimum-stability'] = 'dev';
$array['prefer-stable'] = true;

// Make sure the repo is configured

if (! isset($array['repositories']))

$array['repositories'] = [];

// Check for the CodeIgniter repo

$found = false;

foreach ($array['repositories'] as $repository)

if ($repository['url'] == GITHUB_URL)

$found = true;

break;

// Add the repo if it was not found

if (! $found)

$array['repositories'][] = [

'type' => 'vcs',

'url' => GITHUB_URL,


];

// Define the "require"

$array['require']['codeigniter4/codeigniter4'] = 'dev-develop';

unset($array['require']['codeigniter4/framework']);

// Release

else

// Clear 'minimum-stability'

unset($array['minimum-stability']);

// If the repo is configured then clear it

if (isset($array['repositories']))

// Check for the CodeIgniter repo

foreach ($array['repositories'] as $i => $repository)

if ($repository['url'] == GITHUB_URL)

unset($array['repositories'][$i]);

break;

}
}

if (empty($array['repositories']))

unset($array['repositories']);

// Define the "require"

$array['require']['codeigniter4/framework'] = LATEST_RELEASE;

unset($array['require']['codeigniter4/codeigniter4']);

// Write out a new composer.json

file_put_contents($file,
json_encode($array,JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES) .
PHP_EOL);

$modified[] = $file;

else

echo 'Warning: Unable to decode composer.json! Skipping...' . PHP_EOL;

else

echo 'Warning: Unable to read composer.json! Skipping...' . PHP_EOL;


}

// Paths config and PHPUnit XMLs

$files = [

__DIR__ . DIRECTORY_SEPARATOR . 'app/Config/Paths.php',

__DIR__ . DIRECTORY_SEPARATOR . 'phpunit.xml.dist',

__DIR__ . DIRECTORY_SEPARATOR . 'phpunit.xml',

];

foreach ($files as $file)

if (is_file($file))

$contents = file_get_contents($file);

// Development

if ($dev)

$contents = str_replace('vendor/codeigniter4/framework',

'vendor/codeigniter4/codeigniter4', $contents);

// Release

else

{
$contents = str_replace('vendor/codeigniter4/codeigniter4', 'vendor/codeigniter4/framework',
$contents);

file_put_contents($file, $contents);

$modified[] = $file;

if (empty($modified))

echo 'No files modified' . PHP_EOL;

else

echo 'The following files were modified:' . PHP_EOL;

foreach ($modified as $file)

echo " * {$file}" . PHP_EOL;

echo 'Run `composer update` to sync changes with your vendor folder' . PHP_EOL;

}
CONCLUSION:
The conclusion of this project is A Hotel management system is a computerized

management system. This system keeps the records of hardware assets besides
software of this organization. The proposed system will keep a track of Workers,
Recidents, Accounts and generation of rep ort regarding the present status. This
project has GUI basedsoftware that will help in storing, updating and retrieving
the information through varioususer-friendly menu-driven modules.The project
“Hotel Management System” is aim to develop to maintain the day-to-day state
of admission/Vacation of Residents, List of Workers, payment details etc. Main
objective of this project is to provide solution for hotel to manage most there
work using computerized process. This software application will help admin to
handle customers information, room allocation details, payment details, billing
information.etc. Detailed explanation about modules and design are provided
in project documentation. The existing system is a manually maintained system.
All the Hotel records are to be maintained for the details of each customers,
Fee details, Room Allocation , Attendance etc.

REFERENCES:
https://www.mifratech.com/public/blog-page/Hotel+Management+System

You might also like