Online ticket sales
An online coach ticketing platform in Morocco with booking, CMI payment, seat selection and QR e-tickets.
- React 18
- Laravel 12
- PHP 8.2
- Vite 7
- Tailwind CSS
- SECTOR
- Transport · E-commerce
- STATUS
- Delivered
- TYPE
- SaaS platform
- MODULES
- 10
The platform in pictures.

Business challenge
Create a simple, reliable booking journey while syncing availability, pricing, payment and administration in a multilingual environment suited to the Moroccan market.
The Smart Gare Online Booking platform guides travelers from searching a destination to receiving their e-ticket.
It offers available schedules, an interactive seat map, passenger details, promotions, CMI payment and immediate issuance of a PDF ticket with a QR code.
Problems solved
BEFORE- 01Fragmented search for destinations, schedules and available departures
- 02Dependence on cash payment at the ticket desk
- 03No seat selection or verifiable digital ticket
- 04Experiences rarely available in French, Arabic RTL and English
Key features
- 01
Public site
Home, destinations, schedules, featured routes, FAQ and content pages.
- 02
Search
Destinations, dates, schedules and available departures.
- 03
Booking
Seat selection, travelers, coupons and cart validation.
- 04
CMI payment
Card payment, secure callbacks and confirmation.
- 05
E-tickets
QR tickets, PDF generation and print-ready formats.
- 06
Authentication
Sign-up, login, password reset and email verification with Sanctum.
- 07
Traveler area
Profile, bookings, payments and notifications.
- 08
Administration
Routes, destinations, promotions, statistics and exports.
- 09
Data enrichment
Optional connection to the station API to align destinations and the operator network.
- 10
Multilingual UI
French, Arabic with true RTL, and English across the whole journey.
(Operational pipeline)
From need to result, without breaks.
- 01
Search
Choose the departure city, destination and travel date.
- 02
Compare
Browse departures, schedules, prices, operators and available seats.
- 03
Choose
Pick a seat on an interactive map and enter traveler details.
- 04
Optimize
Apply a promotion or coupon before checkout.
- 05
Pay
Pay by card via CMI with secure handling of the payment return.
- 06
Travel
Instantly receive the PDF ticket with QR code, ready to show or print.
How the platform is built.
Technical choices
Laravel 12
- Sanctum for SPA sessions and API tokens
- Ziggy to use named Laravel routes in React
- Separation of JSON routes, the SPA shell and CMI callbacks
- Reproducible migrations and seeders
Traveler-first React
- Mobile-first SPA with Framer Motion transitions
- Schema-validated forms with React Hook Form and Zod
- French, Arabic RTL and English as first-class languages
- Dynamic titles and metadata with react-helmet-async
Tickets and payment
- CMI bank payment suited to the Moroccan market
- Promotions and coupons built into checkout
- Client-side PDF tickets with QR code
- History of bookings, payments and notifications
- React 18
- Laravel 12
- PHP 8.2
- Vite 7
- Tailwind CSS
- 01Intercity travelers
- 02Transport companies and cooperatives
- 03Sales agents and support teams
- 04Booking platform administrators
- 01Complete journey from search to QR ticket
- 02CMI payment suited to the Moroccan market
- 03French, Arabic RTL and English
- 04Administration of routes, offers and statistics
Results and impact
AFTER- Sales available around the clock from mobile or desktop
- Availability and seats centralized in real time
- E-ticket generated immediately after payment
- Self-service management of promotions, trips and content
- Trilingual FR, AR and EN journey with RTL support
- Reproducible deployments with Docker Compose
Everything about Online ticket sales.
Have a similar project in mind?
Let’s talk about your processes and the platform that will make them reliable, traceable and manageable.
A web platform to search, book and pay for intercity coach tickets in Morocco, with seat selection and QR e-tickets.
The platform integrates CMI, the Moroccan payment gateway, with native callback handling in Laravel.
The journey supports French, Arabic with a true RTL layout, and English.
Yes. After payment, a PDF ticket with QR code is generated for download, printing and boarding checks.
