01
Easy to understand
A component is a file. Parameters are an ordinary PHP array.
No framework, no frontend build step, and no magic. Each component is just one Latte file with optional parameters.
See how it worksThe page is defined as a simple PHP array. Component names map directly to files in the components directory.
A component is a file. Parameters are an ordinary PHP array.
Run Composer, point your web server at public/, and you are done.
Use current PHP and Latte without committing to a full application framework.
This example is intentionally boring. That is the point.