Looking to hire Laravel developers? Try LaraJobs

laravel-multidomain-starter maintained by lianmaymesi

Description
A Laravel starter kit for multi-subdomain apps: dedicated auth, account, app, and backoffice portals with an optional single-domain mode.
Last update
2026/08/18 13:46 (dev-main)
License
Links
Downloads
7

Comments
comments powered by Disqus

Laravel Multidomain Starter

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

composer install
npm install --prefix .
cp .env.example .env
php artisan key:generate
php artisan migrate
npm run build

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.