1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-06-21 21:24:04 +00:00

Simplify tenancy boost resources by replacing detailed guidelines with focused references

This commit is contained in:
eramitgupta 2026-06-02 12:50:21 +05:30
parent 882eaef8b4
commit 656bcda8c2
4 changed files with 135 additions and 843 deletions

View file

@ -19,13 +19,13 @@ Use this when installing or auditing `stancl/tenancy` setup.
composer require stancl/tenancy
```
2. Run the installer non-interactively.
1. Run the installer non-interactively.
```bash
php artisan tenancy:install --no-interaction
```
3. Confirm these files exist:
1. Confirm these files exist:
- `config/tenancy.php`
- `routes/tenant.php`
@ -34,19 +34,19 @@ php artisan tenancy:install --no-interaction
- `database/migrations/2019_09_15_000020_create_domains_table.php`
- `database/migrations/tenant`
4. Review `config/tenancy.php` before running migrations.
1. Review `config/tenancy.php` before running migrations.
5. Run central migrations.
1. Run central migrations.
```bash
php artisan migrate
```
6. Add tenant migrations to `database/migrations/tenant`.
1. Add tenant migrations to `database/migrations/tenant`.
7. Create tenants and domains according to the identification strategy.
1. Create tenants and domains according to the identification strategy.
8. Run tenant migrations.
1. Run tenant migrations.
```bash
php artisan tenants:migrate