2024-09-08 13:44:12 +01:00

364 B

Context Example

This example demonstrates how to pass a render closure to context and generate a view using the latte template engine.

Running the Example

  1. Install dependencies:

    composer install
    
  2. Start the server:

    composer start
    
  3. Access the demo route:

      curl http://localhost:8000