PHPackages                             legeions/legion - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. legeions/legion

ActiveProject

legeions/legion
===============

LEGION - Laravel-style MVC Framework with React + Python AI integration

00Hack

Since Jul 12Pushed 10mo agoCompare

[ Source](https://github.com/Abhi7251singh/Legeions)[ Packagist](https://packagist.org/packages/legeions/legion)[ RSS](/packages/legeions-legion/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

⚔️ LEGION - PHP + React + Python AI MVC Framework
=================================================

[](#️-legion---php--react--python-ai-mvc-framework)

Legion is a modern Laravel-style MVC framework built for AI-powered full-stack development. It integrates PHP, React.js, and Python with a clean architecture and minimal code.

[![Legion Logo](https://camo.githubusercontent.com/1d27b54165c8900af119d1fc1525f8b076720bb21f0446dc661d5deedb341023/68747470733a2f2f7765626c79746563686e6f6c61622e636f6d2f616268697368656b2f6c6567696f6e5f6c6f676f5f726573697a65642e706e67)](https://camo.githubusercontent.com/1d27b54165c8900af119d1fc1525f8b076720bb21f0446dc661d5deedb341023/68747470733a2f2f7765626c79746563686e6f6c61622e636f6d2f616268697368656b2f6c6567696f6e5f6c6f676f5f726573697a65642e706e67)

---

🚀 Key Features
--------------

[](#-key-features)

- ✅ MVC folder structure (cleaner than Laravel)
- ⚛️ React + Bootstrap UI (auto-preconfigured)
- 🧠 Python-AI bridge using `php-py`
- 📦 Composer + Vite + npm integration
- 🐳 Docker-ready with local &amp; remote DB support
- 🔧 CLI tool like Artisan:
    - `legion run` → Start server
    - `legion reload` → Rebuild everything
    - `legion cache:pl` → Prewarm Python-AI model

---

🧩 CLI Commands
--------------

[](#-cli-commands)

Use Legion from the terminal just like Laravel Artisan:

```
legion run         # Start server on http://localhost:8000
legion reload      # Reinstall npm + rebuild + autoload
legion cache:pl    # Warm up Python model via php-py
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/65cf98c9f84f54f7aba7dd5ce7b53b09ecd41d4a9350223b3dfd6872ef5c648f?d=identicon)[abhisheksingh7233](/maintainers/abhisheksingh7233)

---

Top Contributors

[![Abhi7251singh](https://avatars.githubusercontent.com/u/148897811?v=4)](https://github.com/Abhi7251singh "Abhi7251singh (6 commits)")

### Embed Badge

![Health badge](/badges/legeions-legion/health.svg)

```
[![Health](https://phpackages.com/badges/legeions-legion/health.svg)](https://phpackages.com/packages/legeions-legion)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
