Skip to content

Lepelley/hotel

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

Hotel

Configure

  • rename config_rename.php to config.php and set your databases
  • you can change the port but you should impact it on the command line to run the server
  • run "composer install" to install the dependencies

Run the server

Type on a terminal : "php -S localhost:8000 -t public"

Commands

Run PHP Code Sniffer (check PSR-12 compatibility): "vendor/bin/phpcs"

Run PHP Code Beautifier and Fixer (Fix the errors from the previous command) : "vendor/bin/phpcbf"

Add a administrator (update the add_admin.php file) and execute it using on the folder project : "php add_admin.php"

About

Hotel Project using PHP (OOP), MongoDB and Redis during my formation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published