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.
// 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);
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.
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)
System Requirements
Legion runs on standard shared hosting. No Docker, no containers — just PHP and MySQL.
Start Building Something Amazing
Join the developers who chose Legion to power their applications. Start building in minutes.