@@ -85,6 +85,28 @@ class TenantTest extends LandlordTestCase
8585```
8686## Configuration
8787
88+ ### Registering the Service Provider
89+ Laravel 11+ Add the service provider to your ` bootstrap/providers.php ` :
90+
91+ ``` php
92+ <?php
93+
94+ return [
95+ App\Providers\AppServiceProvider::class,
96+ ArmCm\LaravelTenancyTesting\ServiceProvider::class,
97+ ];
98+ ```
99+
100+ Laravel 10 Add the service provider to your ` config/app.php ` :
101+
102+ ``` php
103+ 'providers' => [
104+ // Other Service Providers...
105+
106+ ArmCm\LaravelTenancyTesting\ServiceProvider::class,
107+ ],
108+ ```
109+
88110### Publishing Configuration File
89111You can publish the configuration file to customize the package behavior:
90112The package uses the following configuration file to override:
@@ -126,27 +148,6 @@ return [
126148];
127149```
128150
129- ### Registering the Service Provider
130- Laravel 11+ Add the service provider to your ` bootstrap/providers.php ` :
131-
132- ``` php
133- <?php
134-
135- return [
136- App\Providers\AppServiceProvider::class,
137- ArmCm\LaravelTenancyTesting\ServiceProvider::class,
138- ];
139- ```
140-
141- Laravel 10 Add the service provider to your ` config/app.php ` :
142-
143- ``` php
144- 'providers' => [
145- // Other Service Providers...
146-
147- ArmCm\LaravelTenancyTesting\ServiceProvider::class,
148- ],
149- ```
150151### Using Custom Tenant Model
151152If you have a custom tenant model: ` config/tenancy-testing.php `
152153``` php
0 commit comments