Skip to content

Web Quickstart

Coming Soon

The lalaz/web starter and documentation are under active development. This page will be updated when the Web starter is ready.

Overview

The Web starter (lalaz/web) is designed for building full-stack web applications with server-side rendered views. It includes everything from the API starter plus additional features for web development.

What's Included

The Web starter will include:

  • Twig Templating - Powerful templating engine for views
  • Session Management - Secure server-side sessions
  • Cookie Handling - Easy cookie management
  • CSRF Protection - Automatic form protection
  • Flash Messages - Session-based notifications
  • Asset Handling - CSS, JavaScript, and image management

Prerequisites

The same as the API starter:

  • PHP 8.3 or higher
  • Composer 2.x

Installation (Coming Soon)

bash
composer create-project lalaz/web my-app
cd my-app
php lalaz serve

Project Structure (Planned)

my-app/
├── app/
│   ├── Controllers/
│   └── Views/              # Twig templates
├── config/
│   └── app.php
├── public/
│   ├── index.php
│   ├── css/
│   ├── js/
│   └── images/
├── routes/
│   └── web.php
├── storage/
│   └── sessions/
├── .env
└── lalaz

For Now: Use the API Starter

If you need to build a web application today, you can start with the API Starter and add the lalaz/web package when it becomes available.

Stay Updated

Next Steps

Released under the MIT License.