> For the complete documentation index, see [llms.txt](https://docs.phptravels.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.phptravels.com/modules.md).

# Modules

Browse every PHPTRAVELS module with setup guides: stays, flights, tours, cars, visa, Umrah, ferries and eSIM, plus supplier APIs like Sabre and Hotelbeds.

### How PHPTRAVELS modules work

PHPTRAVELS is built from modules. Each module is a booking engine with its own search, results, booking flow, voucher and back office, and you switch on only the ones you sell. A module can run on your own inventory (products, rates and availability you load yourself) or on live supplier APIs, or both at once in the same search.

Supplier APIs need your **own contract and credentials** with each supplier. PHPTRAVELS provides the connection and the booking flow; it does not supply inventory.

### Modules in these docs

* [Stays](https://docs.phptravels.com/modules/stays) -- hotels and apartments from your own contracts and bedbanks such as Hotelbeds, RateHawk, Agoda and Stuba, with calendar pricing.
* [Flights](https://docs.phptravels.com/modules/flights) -- airline fares from Amadeus, Duffel, Kiwi, Sabre, TBO and other flight APIs.
* [Tours](https://docs.phptravels.com/modules/tours) -- your own tours and activities, plus Viator and Tiqets.
* [Cars](https://docs.phptravels.com/modules/cars) -- car rental and transfers from your fleet, Cartrawler, Discovercars and Kiwitaxi.
* [Visa](https://docs.phptravels.com/modules/visa) -- visa requirements, online applications and case tracking.
* [Umrah](https://docs.phptravels.com/modules/umrah) -- Umrah and Hajj packages and pilgrim groups.
* [Ferries](https://docs.phptravels.com/modules/ferries) -- ferry crossings through the Kikoto Ferries API.
* [eSIM](https://docs.phptravels.com/modules/esim) -- travel data plans through the Airalo API.
* [Others](https://docs.phptravels.com/modules/others) -- extra integrations such as TripAdvisor reviews.

### Turning a module on

1. Log in to your admin panel at `yourdomain.com/admin`.
2. Open **Settings > Modules** (`/admin/settings/modules`). Every module and supplier is listed there.
3. Open a module, enable it on the **General** tab and set its currency.
4. For live suppliers, enter your API credentials on the **Credentials** tab and use **Test** where available. Keep **Dev mode** on development until a test booking works.
5. Set B2C and B2B margins on the **Markup** tab.

### Before you go live

* Run a test search and booking for each module you enable.
* Check vouchers and invoices in the admin and in the customer email.
* Confirm that supplier references are saved on each booking.

The current list of supported suppliers is on the [integrations page](https://phptravels.com/integrations). A supplier that is not listed can be added as custom development.
