lianmaymesi / laravel-multidomain-starter
A Laravel starter kit for multi-subdomain apps: dedicated auth, account, app, and backoffice portals with an optional single-domain mode.
Package info
github.com/lianmaymesi/laravel-multidomain-starter
Type:project
pkg:composer/lianmaymesi/laravel-multidomain-starter
Requires
- php: ^8.3
- bacon/bacon-qr-code: ^3.0
- laravel/framework: ^13.0
- laravel/tinker: ^3.0
- livewire/flux: ^2.15
- livewire/livewire: ^4.2
- nunomaduro/termwind: ^2.4
- pragmarx/google2fa-laravel: ^3.0
- spatie/laravel-permission: ^8.3
- twilio/sdk: ^8.11
Requires (Dev)
- fakerphp/faker: ^1.23
- laravel/pail: ^1.2.5
- laravel/pao: ^1.1
- laravel/pint: ^1.27
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- pestphp/pest: ^4.4
- pestphp/pest-plugin-laravel: ^4.1
- pestphp/pest-plugin-livewire: ^4.1
README
A Laravel 13 + Livewire 4 starter kit for apps split across multiple subdomains — dedicated auth, account, app, backoffice, and landing portals — with an optional single-domain mode for apps that don't need the split.
Full docs (setup, single-vs-multi domain, SSO, the make:subdomain command): docs site
Quick start
laravel new my-app --using=lianmaymesi/laravel-multidomain-starter
Set APP_MAIN_DOMAIN in .env to your local dev domain (e.g. yourapp.test via Laravel Herd), then visit auth.yourapp.test, app.yourapp.test, account.yourapp.test, backoffice.yourapp.test, or the main domain for the landing page.
Set APP_SINGLE_DOMAIN=true to run everything on one domain instead — see the docs for details.
License
Open-sourced software licensed under the MIT license.