Legion Engine

Content Management

Everything you need to manage content — for admins and editors alike.

Module System

Build any data structure as a module. Auto-generates CRUD panel, API, and validation rules from a simple JSON schema.

Rich Editor Fields

Built-in WYSIWYG editor with image embedding, tables, code blocks, and full RTL support for Arabic content.

Static Pages

Manage about, contact, FAQ, and any static page from the panel with custom slugs and SEO control.

Navigation Menus

Drag-and-drop menu builder with multi-level nesting, external links, and per-language menu control.

API & Mobile

Built to power Flutter and React Native apps from day one.

Auto-generated API

Every module instantly has list, single, search, and CRUD endpoints. No extra code required.

Push Notifications

Firebase FCM integration for Android and iOS. Bulk notifications, single-user targeting, and notification history.

Mobile Auth

Token-based authentication with session persistence, OTP support, and social login ready architecture.

In-App Messaging

Built-in real-time messaging module for user-to-admin and user-to-user communication with file sharing.

Developer Tooling

Tools that make building and maintaining Legion projects fast and reliable.

Shell Script Automation

deploy.sh, reset_legion.sh, create_module.sh and more — full project lifecycle from CLI without touching the panel.

Cron & Background Jobs

Grand Croner integration for centralized scheduling. Built-in job queue for heavy async operations with retry logic.

Debug & Error Logs

Debug::log() for structured logging, real-time error log viewer in panel, and PHP error tracking per project.

One-Line Deploy

From zero to live in under 2 minutes with deploy.sh. Creates DB, imports schema, configures paths, sets permissions automatically.

SEO & Performance

Production-grade SEO and performance built into the engine core.

Full SEO Suite

Auto meta tags, Open Graph, Twitter Cards, JSON-LD structured data, canonical URLs, hreflang, and XML sitemap.

Smart Image Delivery

On-demand image resizing and WebP conversion with server-side caching. Picture elements with srcset for optimal delivery.

Multilingual SEO

Language-aware canonical URLs, hreflang alternate links, and per-language meta descriptions for proper search indexing.

Lightweight Core

No heavy framework overhead. Pure PHP with zero third-party runtime dependencies. Starts in under 10ms on any decent host.

AI That Works Inside Your Panel

Every Legion site can use AI from its panel and app. No API keys to manage: calls go through Legion's own AI gateway, metered per site with daily limits.

Translation

Translate fields, panel and app text between Arabic, English and more, in the site's own tone.

Panel Assistant

Ask in plain words. It finds the right section of the panel and helps you get the task done.

Content Blocks

Describe a section and get ready-made blocks — heroes, cards, steps — right in the rich-text editor.

Voice to Text

Record a note about an event or a story and get clean written text back.

Read Documents

Take a photo of a document and its details fill the form fields for you.

Photo Moderation

Checks the photos users upload before other users get to see them.

Social Posts

Say what to post: it writes the words and captions and designs the picture.

Images & Video

Generate images and short videos from a description or a photo.