Tenant-first Laravel 12 stack powered by Stancl Tenancy and Filament v4. This overview keeps every teammate aligned on which feature modules unlock per phase and how they map to the landlord / tenant split.
composer install && npm install
cp .env.example .env
php artisan key:generate
php artisan migrate --graceful
php artisan db:seed
php artisan tenants:migrate
php artisan app:create-tenant "Company Name" "company" --email=admin@company.com --password=secret123
💡 Creates: company.eah-tech.test
• Automatically sets up tenant database
• Creates user with specified credentials
• Use subdomain only (not full domain)
php artisan serve
npm run dev
Landlord Panel: owner@eah-tech.test / password
Demo Tenant: Visit demo.eah-tech.test (same credentials)
1. Update hosts file:
127.0.0.1 eah-tech.test
127.0.0.1 demo.eah-tech.test
127.0.0.1 company.eah-tech.test
2. Clear DNS cache: ipconfig /flushdns
3. Access points:
• Landlord: https://eah-tech.test/admin
• Demo: https://demo.eah-tech.test/app/login
• New tenant: https://company.eah-tech.test/app/login