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

  • Config

    A library to manage your configuration files with support for JSON, JSON5, YAML and INI formats.

  • Service Container

    A dependency injection container respecting the PSR-11 (Container interface) standard.

  • Event Manager

    An event manager/dispatcher respecting the PSR-14 (Event Dispatcher) standard.

  • Flash Bag

    A lightweight library to manage flash messages stored in the PHP session.

HTTP

  • HTTP Message

    Implementation of PSR-7 (HTTP message interfaces) and PSR-17 (HTTP Factories) standards.

  • HTTP Client

    An HTTP client with continuous navigation support (cookies, sessions, history), implementing PSR-18.

  • Router

    A library to manage HTTP routes with attribute-based definitions, respecting PSR-7.

Web

  • Form

    A library to manage HTML forms: types, groups, collections, validators and transformers.

  • HTML Selector

    A library to query HTML documents with CSS selectors, like jQuery on the DOM.

  • Mailer

    A library for sending emails via SMTP or PHP’s built-in mail() function.

Async

  • Queue Manager

    A queue and worker system supporting multiple backends (Database, Redis, AMQP, AWS SQS, Memory).

Last updated: Wed, 18 Feb 2026 11:34