appstract/laravel-multisite
appstract/laravel-multisite is a Laravel package for serving multiple websites from one codebase. It resolves the current site by domain, adds site-aware models and middleware, and helps keep content and configuration separated across domains.
Architecture fit
Request::getHost() before config, views, routes, and DB connections are bound. That is a clean seam and fits Laravel's service-container/provider model well.Integration feasibility
Technical risk
config:cache and route:cache, which are standard in production. This must be validated explicitly.Key questions
Stack fit
Route::domain() groups plus per-environment config — a modest but real reduction in boilerplate.Migration path
SiteResolver/SiteServiceProvider, using the package as a design reference.Compatibility
config:cache/route:cache behavior, octane/swoole if used (long-lived workers make hostname-based container swapping unsafe), and queue worker behavior.Sequencing
Maintenance
Support
Scaling
Failure modes
config:cache/route:cache baking in one site's config, causing all sites to serve the wrong routes.Ramp-up
TPM recommendation
How can I help you explore Laravel packages today?