Components
Berlioz Framework is built on top of standalone PHP components. Each component can be used independently in any PHP project, without the full framework.
They are all distributed as separate Composer packages via Packagist.
All components require PHP ^8.2 and follow Semantic Versioning.
Configuration & Services
-
A library to manage your configuration files with support for JSON, JSON5, YAML and INI formats.
-
A dependency injection container respecting the PSR-11 (Container interface) standard.
-
An event manager/dispatcher respecting the PSR-14 (Event Dispatcher) standard.
-
A lightweight library to manage flash messages stored in the PHP session.
HTTP
-
Implementation of PSR-7 (HTTP message interfaces) and PSR-17 (HTTP Factories) standards.
-
An HTTP client with continuous navigation support (cookies, sessions, history), implementing PSR-18.
-
A library to manage HTTP routes with attribute-based definitions, respecting PSR-7.
Web
-
A library to manage HTML forms: types, groups, collections, validators and transformers.
-
A library to query HTML documents with CSS selectors, like jQuery on the DOM.
-
A library for sending emails via SMTP or PHP’s built-in
mail()function.
Async
-
A queue and worker system supporting multiple backends (Database, Redis, AMQP, AWS SQS, Memory).