API
36 namespaces and 986 functions, grouped by area.
Core language
- core563The standard library: data structures, sequences, math, control flow, and macros.
- string28String helpers: split, join, trim, pad, replace, and case conversion.
- php14PHP interop: method calls, object creation, and PHP array access.
- match1Pattern matching over a vector of targets.
- walk7Generic tree walking, plus recursive map key conversion.
- reader4Register handlers for custom reader tags.
- async1A fiber-aware delay (sleep) for async code.
Data formats
Web
- http20HTTP request and response values, built from PHP globals, and response emitting.
- http_client7HTTP client for GET, POST, PUT, PATCH, DELETE, and HEAD requests.
- router13Routing on Symfony Routing: match by path or name, generate URLs.
- html5Compile Phel vectors to HTML, with escaping and raw strings.
Testing
Schema
Tooling
- repl45REPL helpers: doc, source, apropos, namespace inspection, eval, and reload.
- cli38Console apps on Symfony Console: commands, arguments, prompts, and styled output.
- pprint3Pretty-print data structures.
- trace5Trace function calls, printing arguments and results.
- reflect11PHP reflection: classes, methods, properties, attributes, and enums.
- watch4Watch files, reload changed namespaces, and run reload hooks.
AI
The full API is also available as JSON at /api.json.