Examples That Model The Library

These examples are small reference apps and scripts for learning DevElation primitives, storage, services, templates, CLI helpers, HTTP utilities, and behavior patterns. Static pages show commands and expected output; Codespaces runs the examples in a prepared PHP environment.

Todo List

Session-backed web flow using `Arr`, `Date`, Vibe templates, and storage lifecycle calls.

webstoragetemplates
Open tutorial

Comment Thread

Voting and threaded rendering with session storage, `Arr`, `Str::pluralize()`, and Vibe templates.

websessionhtml
Open tutorial

Helper Workflow

Non-interactive CLI script covering factory helpers, primitives, files, HTTP helpers, dates, flags, and hashes.

clihelpersjson
Open tutorial

CLI Status Report

Argument parsing, terminal tables, progress output, status bars, and prompt-ready CLI composition.

cliconsoleargs
Open tutorial

HTTP/API Packet

Deterministic API packet construction with `Obj`, `HTTP`, `Arr`, `Flag`, `Date`, `Str`, and `Hash`.

clihttpsecurity
Open tutorial

Territory Game

Scripted CLI game showing `Behaves`, behavioral state transitions, and an `Arr`-backed narration log.

clibehaviorscripted
Open tutorial