Work · Open source · 2021
An open-source Laravel client for MetaTrader 5
A Laravel package wrapping the MetaTrader 5 Web API — refactored from vanilla PHP to OOP, with Singleton-based connection handling to minimize API requests. Powers production back-offices serving 10,000+ live trading users.
The job
1 on the team,
ongoing.
- Client
- Open source
- Sector
- Open source
- Year
- 2021
- Role
- Author / Maintainer
Brief and outcome
What was needed.
The MetaTrader 5 Web API is powerful but unfriendly — a thin XML-over-HTTP surface designed for low-level integration. Every brokerage we worked with ended up writing the same wrapper code, badly. So we wrote it once, opened it up, and kept maintaining it.
What came of it.
The package ships in production back-offices used by 10,000+ live trading users across multiple brokerages. The MetaTrader 5 PHP space had a missing piece, and this filled it.
What was built
5 parts,
shipped.
A selection of projects shipped through Syntorium and our CTO's prior engagements.
Idiomatic Laravel package
The API surface mapped to typed PHP methods — accounts, positions, orders, deposits, withdrawals, copy trading, KYC.
Singleton-based connection management
So a single HTTP request reuses the MT5 session across many domain calls instead of hammering the server.
Refactor of legacy procedural PHP
Into a clean OOP design with named exceptions, request/response DTOs, and a configurable transport layer.
Documentation
That lets a junior developer wire MT5 into a Laravel app inside an afternoon.
Composer-installable
Drops into any Laravel project, configurable via .env.
More work
Start
Send a brief.
We reply within one working day with a written estimate or a call.
No newsletters. Your details aren't shared.
Or say hello.
Sunday to Thursday, 09:00–18:00, GMT+4. Remote engineers cover the EU and the US asynchronously. We work in English, Arabic and Urdu.
