It's an in-house web-based airlines reservation application. Administrators can generate general instances and employees make reservations for customers. They can select seat on plane easily.
I developed my own little PHP framework. It is heavily inspired from Laravel Framework.
- Put your database credentials to
config.php
- Serve application with
php -S localhost:8888
. - Visit address
localhost:8888
from your internet browser. - To create database scheme visit
localhost:8888/database
- First administrator activated automatically
Entry point of my application is index.php. After that point, my Router
handles routing.
I have 3 important directory.
App
directory contains project specific files, such asModels
,Controllers
,Routes
,Views
.Core
directory contains my framework classes, such asQueryBuilder
,Auth
,Router
,Request
.Public
directory containsstylesheets
,scripts
etc.
You can use this framework in your CmpE321 project easily. If you're not sure what you're doing, don't touch the Core
folder.
Your main workspace is App
folder. Add your project's routes, models, controllers and views to corresponding folders.
Note: Don't forget to update your autoload file with composer dumpautoload
after you added new files.