Skip to content

Pluto is a hotel management PHP REST API with a token-based authentication system.

License

Notifications You must be signed in to change notification settings

supreeth7/Pluto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pluto

Pluto is a hotel management REST API with a token based authentication system that performs use-case targetted functionalities to manipulate database data to publish available rooms to a channel manager and synchronizes it across all OTA platforms. Built with vanilla PHP.

Latest Stable Version License



API Architecture

alt text

Token Based Authentication Flow

alt text


Endpoints

Verb URI Action Route Name
GET /rooms index rooms.index
POST /users/create create hotels.create
POST /sessions login sessions.create
POST /rooms store rooms.create
GET /rooms/{id} show rooms.show
PUT/PATCH /rooms/{id} update rooms.update
PUT/PATCH /sessions/{id} token refresh sessions.update
GET /rooms/available show rooms.showAvailable
GET /rooms/unavailable show rooms.showAvailable
DELETE /rooms/{id} destroy rooms.delete
DELETE /sessions/{id} logout sessions.delete

Key Features

  • Robust API developed using only pure PHP.
  • Performs CRUD operations on a MySQL database.
  • Caching system for faster data retrieval.
  • Token based authentication system.
  • Password encryption for security.
  • Industry standard endpoints.

Demo

Create new user

alt text


Login

alt text


Add available room into inventory

alt text


Fetch all rooms matching the hotel ID

alt text


Logout

alt text


Credits


License

MIT


Portfolio supreeth.live  ·  GitHub @supreeth7  ·  Instagram @iam.supreeth

About

Pluto is a hotel management PHP REST API with a token-based authentication system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages