atannex / domain-routing
Multi-domain routing for Laravel: sites bound to hosts, site-scoped routes, cross-domain URLs, canonical hosts, per-site maintenance and cross-domain sign-in. Works alone or with atannex/tenancy.
v1.0.0
2026-11-06 10:17 UTC
Requires
- php: ^8.3
- laravel/framework: ^12.0|^13.0
Requires (Dev)
- atannex/routing: ^1.3
- atannex/tenancy: ^1.0
- larastan/larastan: ^3.0
- laravel/pint: ^1.18
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.7|^4.0
Suggests
- ext-intl: Internationalised host names (IDN to punycode).
- atannex/routing: Put controllers on a site with the #[Site] attribute.
- atannex/tenancy: Serve verified tenant domains as a dynamic site (built-in adapter).
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-06 10:18:51 UTC
README
Multi-domain routing for Laravel. One app serves many domains (marketing site, app subdomains, API, admin, tenant custom domains), each with its own routes.
Requires PHP 8.3+ and Laravel 12 or 13.
Install
composer require atannex/domain-routing php artisan vendor:publish --tag=domain-routing-config
License
MIT