What is LavaLust?
LavaLust is a lightweight PHP framework that follows the MVC (Model–View–Controller) pattern. It's designed for developers who want a structured yet minimalistic PHP development experience.
🚀 Key Features
🧠 MVC Architecture
Clear separation of concerns with Models, Views, and Controllers.
⚙️ Built-in Routing
Clean and flexible routing system similar to Laravel or CodeIgniter.
📦 Libraries & Helpers
Includes utilities for sessions, forms, database, validation, and more.
📁 Organized Structure
Modular folder structure for scalable app development.
🔗 REST API Support
Build RESTful APIs easily using built-in tools and conventions.
📘 ORM-like Models
Use LavaLust's model layer for structured database operations with ease.
📂 Project Structure
/app
/config
/controllers
/helpers
/language
/libraries
/models
/views
/console
/public
/runtime
/scheme
🧪 Quick Example
Route in app/config/routes.php
$router->get('/', 'Welcome::index');
Controller method in app/controllers/Welcome.php:
class Welcome extends Controller {
public function index() {
$this->call->view('welcome_page');
}
}
View file at: app/Views/welcome_page.php