LavaLust
  • Welcome to LavaLust
  • Installation Instructions
  • LavaLust Overview
  • General Topics
    • Routes
    • Controllers
    • Models
    • Views
    • Helpers
    • Libraries
    • Auto-loading Resources
    • Common Functions and Error Handling
    • before_action Hook
    • Middleware
  • Database Reference
  • Libraries
  • Helpers
  • Examples
LavaLust
  • General Topics

General Topics

  • Routes
    • Basic Route with Closure
    • Accessing the Route
    • Passing Parameters to Routes
    • Using Multiple HTTP Methods
    • Grouping Routes
    • Regular Expression Constraints
    • Tips and Best Practices
  • Controllers
    • Creating a Controller
    • Mapping Routes to Controller Methods
    • Controller Constructor
    • Returning Views from Controllers
    • Tips and Best Practices
  • Models
    • Creating a Model
    • Loading a Model in a Controller
    • Basic CRUD Operations in Controller
    • Soft Delete
    • Enabling Soft Delete
    • Soft Delete Operations
    • Using Relationships
    • Loading Multiple Models
    • Auto-loading Models
    • Assigning Model to Different Name
    • Tips and Best Practices
  • Views
    • Loading a View
    • Passing Data to Views
    • Loading Partial Views
    • Organizing Views into Subfolders
    • View Nesting (Layouts)
    • Best Practices
  • Helpers
    • Loading a Helper
    • Using Helper Functions
    • Auto-loading Helpers
    • Creating a Custom Helper
    • Best Practices
  • Libraries
    • Loading a Library
    • Using a Library
    • Loading Multiple Libraries
    • Auto-loading Libraries
    • Creating a Custom Library
    • Best Practices
  • Auto-loading Resources
    • Resources That Can Be Auto-loaded
    • Configuring Auto-loading
    • Composer Auto-loading
    • Note
  • Common Functions and Error Handling
    • Class Loader
    • Error Handling
    • Configuration Access
    • Utilities
    • Framework Instance Access
  • before_action Hook
    • before_action()
    • Example
  • Middleware
    • Configuration
    • Usage
    • Middleware in Controller
    • Route Group Middleware
    • Single Route Middleware
    • Execution Flow
    • Summary
Previous Next

© Copyright 2026, LavaLust PHP Framework.