austral / domain-bundle
TODO: bundle description
Package info
github.com/austral-project/domain-bundle
Type:symfony-bundle
pkg:composer/austral/domain-bundle
Requires
- php: >=8.4
- austral/contracts: ^4.0
- austral/entity-bundle: ^4.0
- austral/entity-file-bundle: ^4.0
- austral/tools-bundle: ^4.0
- doctrine/collections: ^2.2 || ^3.1
- doctrine/dbal: ^4.0
- doctrine/doctrine-bundle: ^3.2.2
- doctrine/doctrine-migrations-bundle: ^3.0
- doctrine/orm: ^3.7
- gedmo/doctrine-extensions: ^3.0
- ramsey/uuid: ^4.9.1
- symfony/config: ^7.4
- symfony/console: ^7.4
- symfony/dependency-injection: ^7.4
- symfony/http-kernel: ^7.4
- symfony/routing: ^7.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- phpstan/phpstan: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^11.5
- symfony/framework-bundle: ^7.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-19 19:36:51 UTC
README
Domain management and request context initialization for multi-domain Austral applications.
Work in progress: Austral Domain Bundle is under active development. Its public API and configuration may change before the first stable release.
Overview
Austral Domain Bundle provides the domain management layer for Austral applications. It owns domain entities and filtering, and initializes the current domain context for each request.
Its responsibilities include:
- managing configured domains and their persistence;
- resolving and initializing the current domain before request routing;
- initializing the domain context lazily in CLI commands;
- resetting request-specific state in long-running workers;
- providing an optional administration integration when Austral Admin Bundle is installed.
The domain listener runs before Symfony's router so that the current domain is available while the request is handled.
Architecture
This package is independent from http-bundle. Neither bundle depends on the other:
domain-bundleowns domain management and current-domain initialization;http-bundleprovides the HTTP controller and event foundations.
The existing austral_http_domain database table is retained to avoid moving domain data during the bundle separation.
Requirements
- PHP
>=8.4 <9.0 - Symfony
^7.4 - Austral
4.x
Installation
Install the package with Composer:
composer require austral/domain-bundle
If your application does not enable Austral bundles automatically, register Austral\DomainBundle\DomainBundle in config/bundles.php.
Administration
The administration screens and dashboard integration are provided through the bundle's admin bridge. They are loaded only when Austral Admin Bundle is installed.
Credits
Created by Matthieu Beurel. Sponsored by Yipikai Studio.
License
See the LICENSE file for details.