Lima Documentation
Welcome to the Lima docs. This area covers the core pieces of the framework, from installing a new project through to routing, controllers, templates, models, validation, and extending the framework for your own applications.
If you're new to Lima, start with Getting Started, then move on to Routing and Controllers and Views. Those pages explain the request flow and the structure you'll use in most projects.
Once you're comfortable with the basics, the Models and Database, Validation, and Extending Lima pages go deeper into the parts you're most likely to customise as your project grows.
Recommended reading order
- About - learn what Lima is and why it exists.
- Getting Started - install Lima and set up the project structure.
- Configuration - understand the environment variables Lima uses.
- Routing - map URLs to controllers and methods.
- Controllers and Views - render PHP or Twig templates from your controllers.
- Models and Database - work with MySQL, models, collections, and items.
- Validation - validate and sanitize request input.
- Extending Lima - add your own structure, helpers, and application layer.