legeions / legion
LEGION - Laravel-style MVC Framework with React + Python AI integration
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:Hack
Type:project
Requires
- omaralalwi/php-py: ^1.0
This package is not auto-updated.
Last update: 2025-07-13 10:44:58 UTC
README
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.
🚀 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 & remote DB support
- 🔧 CLI tool like Artisan:
legion run
→ Start serverlegion reload
→ Rebuild everythinglegion cache:pl
→ Prewarm Python-AI model
🧩 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