API

Trip planner API in PHP

Trip Planner is an API written in PHP5 demonstrating the abstract, factory and singleton design pattern.

The API can create and sort various transportations and provide trip steps from a point A to point B via several stops on the way also handle the requests over start point, current step or end step also combinations of all. Each step can contain information about seat assignment, and means of transportation such as flight number, bus number etc...

Transport example: