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.

  • Laravel
  • PHP 8
  • Singleton Pattern
  • MetaTrader 5

The job

1 on the team,
ongoing.

Client
Open source
Sector
Open source
Year
2021
Role
Author / Maintainer

Brief and outcome

The brief

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.

The outcome

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

Shipped

5 parts,
shipped.

From

A selection of projects shipped through Syntorium and our CTO's prior engagements.

  1. Idiomatic Laravel package

    The API surface mapped to typed PHP methods — accounts, positions, orders, deposits, withdrawals, copy trading, KYC.

  2. Singleton-based connection management

    So a single HTTP request reuses the MT5 session across many domain calls instead of hammering the server.

  3. Refactor of legacy procedural PHP

    Into a clean OOP design with named exceptions, request/response DTOs, and a configurable transport layer.

  4. Documentation

    That lets a junior developer wire MT5 into a Laravel app inside an afternoon.

  5. 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.

Open the brief form

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.