mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 08:24:04 +00:00
update readme
This commit is contained in:
parent
bc2a5cd12a
commit
221dbbdbc8
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# [stancl/tenancy](https://stancl.github.io/tenancy/)
|
# [stancl/tenancy](https://stancl.github.io/tenancy/)
|
||||||
|
|
||||||
[](https://laravel.com)
|
[](https://laravel.com)
|
||||||
[](https://packagist.org/packages/stancl/tenancy)
|
[](https://packagist.org/packages/stancl/tenancy)
|
||||||
[](https://travis-ci.com/stancl/tenancy)
|
[](https://travis-ci.com/stancl/tenancy)
|
||||||
[](https://codecov.io/gh/stancl/tenancy)
|
[](https://codecov.io/gh/stancl/tenancy)
|
||||||
|
|
@ -76,7 +76,7 @@ If you'd like to be notified about new versions and related stuff, [sign up for
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- Laravel 5.7 or 5.8
|
- Laravel 5.8
|
||||||
|
|
||||||
### Installing the package
|
### Installing the package
|
||||||
|
|
||||||
|
|
@ -226,7 +226,7 @@ You can also seed the database in the same way. The only difference is the comma
|
||||||
|
|
||||||
### Starting a session as a tenant
|
### Starting a session as a tenant
|
||||||
|
|
||||||
This runs `TenantManager::bootstrap()` which switches the DB connection, prefixes Redis, changes filesystem root paths, etc.
|
This switches the DB connection, prefixes Redis, changes filesystem root paths and tags cache.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
tenancy()->init();
|
tenancy()->init();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue