Terms

What you are agreeing to on a site that sells nothing: no ticket is issued, no money moves, and the flights are invented.

What this is

Trip Builder is a demonstration of how a flight search and booking site is built. It was written as a PHP coding assessment and it is kept online so the code has something to point at. It is not a travel agency and it is not a business.

Nothing here is a sale

No ticket is issued and no money changes hands. Completing the checkout writes a row in a database and shows you a reference number. That reference means nothing to any airline. There is no contract of carriage, with us or with anyone else, and no booking made here will get you onto an aeroplane.

There is no payment processor either. Card details are checked for shape and then discarded — see privacy for exactly what happens to them. One card number is wired to be declined on purpose, to demonstrate the error path.

The flights are invented

Airlines, airports, cities and countries are real names. Everything else is generated: the schedules, the prices, the seat availability, the aircraft on each route and the fare rules. Times and prices here do not describe any real flight and should not be used to plan one.

Use it however you like

Browse it, search it, book an imaginary trip, read the source. The code is published under the MIT licence, and about explains how the project fits together. The only thing asked in return is that you do not put real personal or card details into the forms.

No warranty

The site is provided as it is. It may be wrong, it may be down, and it may change or disappear without notice. Nothing here is advice of any kind, and no liability is accepted for anything done on the strength of it.

Written to describe what this code actually does, and checked against it. Trip Builder is a demonstration project, not a business, and these pages have had no legal review.