Legion Engine
Legion Engine v5.0 — Now Available

The PHP Engine
Built for Real Projects

A battle-tested CMS engine powering 100+ production applications. Multilingual, API-ready, and mobile-first from day one.

croner.php
// Create a module entry
$model = new Model('articles_1', 'add');
$model->data = [
  'title' => 'Hello<>مرحباً',
  'body'  => 'Content here',
  'active'=> 1,
];
$model->co();
$model->process();

// Query with OO builder
$db = new DB('articles_1');
$db->order = 'date_created DESC';
$db->limit = 10;
$db->process();

End::json(true, 1, data: $db->data);
100+ Projects Running
5+ Years in Production
30+ Built-in Modules
API First Architecture
Core Capabilities

Everything You Need to Build

From CMS to mobile API — Legion covers it all out of the box, so you spend time building, not configuring.

Modular System

Create, install, and modify modules visually. Auto-generates DB tables, panel views, API endpoints, and validation — zero manual work.

Multilingual Core

Arabic and English are first-class citizens. RTL layouts, locale-aware dates, bilingual fields — it all just works without plugins.

Mobile-Ready API

Every module exposes a RESTful API automatically. Flutter-tested endpoints, push notifications via Firebase, and JWT-ready authentication.

Role-Based Access

Fine-grained permissions per module, per admin, per action. Star admins, super admins, and role hierarchies out of the box.

Smart Media Manager

Automatic image resizing and WebP conversion. Video support, file library, CDN-ready file delivery, and Pexels image integration.

Background Jobs

Dispatch heavy operations to a background queue. Built-in job system with retry, delay, and Grand Croner integration for centralized scheduling.

Designed for the Arab Web

Arabic & English.
Not an Afterthought.

Legion was built from day one with Arabic-first multilingual support, RTL layouts, and the specific needs of MENA-based projects.

  • Full RTL with a single setting
  • Every field supports EN and AR simultaneously
  • Admin panel with complete RTL support
  • Timezone and locale management built in
  • Arabic-optimized font loading (Cairo + Roboto)
English
العربية
Title (EN) Best Organic Honey
العنوان (AR) أفضل عسل طبيعي
Status ● Active
URL (EN) /en/product/1/best-organic-honey
رابط (AR) /ar/product/1/أفضل-عسل-طبيعي

System Requirements

Legion runs on standard shared hosting. No Docker, no containers — just PHP and MySQL.

PHP 8.1+
MySQL 5.7+
Apache / cPanel
mod_rewrite
Ready to build?

Start Building Something Amazing

Join the developers who chose Legion to power their applications. Start building in minutes.