Berlioz Framework is a slim PHP framework, to easily publish your online projects like website, intranet, api... or all your creations!
All development, issues, and pull requests are managed in this monorepo.
Sub-repositories are automatically synchronized for each package.
composer create-project berlioz/website-skeleton my-project --remove-vcsThat's it! You are ready to develop your project.
- Lightweight & fast - Minimal overhead, designed to stay out of your way.
- PSR compliant - Implements PSR-7, PSR-11, PSR-14, PSR-17 and PSR-18 standards.
- Monorepo architecture - All packages are developed, tested and released together.
- HTTP & CLI - First-class support for both web applications and command-line tools.
- Standalone components - Every component can be used independently in any PHP project.
- PHP >= 8.2
- Extensions:
fileinfo,intl,mbstring,xml
This monorepo contains the following packages, each available as a standalone Composer package:
| Package | Description |
|---|---|
Core berlioz/core |
Foundation of the framework: application lifecycle, configuration, debugging. |
Config berlioz/config |
Configuration file management (JSON5, YAML, PHP). |
Service Container berlioz/service-container |
Dependency injection container (PSR-11). |
Event Manager berlioz/event-manager |
Event dispatcher (PSR-14). |
Router berlioz/router |
HTTP route management with PSR-7 support. |
| Package | Description |
|---|---|
HTTP Core berlioz/http-core |
HTTP application core: request handling, controllers, middlewares. |
HTTP Message berlioz/http-message |
PSR-7 HTTP messages and PSR-17 HTTP factories implementation. |
HTTP Client berlioz/http-client |
HTTP client with session/cookie support (PSR-18). |
| Package | Description |
|---|---|
CLI Core berlioz/cli-core |
CLI application core: commands, console and lifecycle. |
| Package | Description |
|---|---|
Mailer berlioz/mailer |
Email sending, with or without a local SMTP server. |
Form berlioz/form |
HTML form building, validation and handling. |
FlashBag berlioz/flash-bag |
Flash messages (one-time user notifications). |
HTML Selector berlioz/html-selector |
Query HTML documents with CSS selectors. |
Queue Manager berlioz/queue-manager |
Background job processing with workers. |
| Package | Description |
|---|---|
Twig Package berlioz/twig-package |
Twig template engine integration. |
Hector Package berlioz/hector-package |
Hector ORM integration for database access. |
Queue Manager Package berlioz/queue-manager-package |
Queue Manager integration into the framework. |
Full documentation is available at getberlioz.com.
All contributions (bug reports, feature requests, pull requests) should be made on this monorepo. Sub-repositories are read-only mirrors and are automatically synchronized.
Berlioz Framework is open-sourced software licensed under the MIT license.