From 4c9d1939dddc3ee9d4a611276489b2bdbec19db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= <33033094+stancl@users.noreply.github.com> Date: Sat, 9 Feb 2019 23:16:05 +0100 Subject: [PATCH 1/2] Fix typo [ci skip] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc3dbc8b..2ea8b983 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ You won't have to change a thing in your application's code.\* composer require stancl/tenancy ``` -This package follows [symantic versioning 2.0.0](https://semver.org). Each major release will have its own branch, so that bug fixes can be provided for older versions as well. +This package follows [semantic versioning 2.0.0](https://semver.org). Each major release will have its own branch, so that bug fixes can be provided for older versions as well. ### Configuring the `InitializeTenancy` middleware From bc873d440283bb4225127dd0d4899d3c658c0df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= <33033094+stancl@users.noreply.github.com> Date: Sun, 10 Feb 2019 14:30:48 +0100 Subject: [PATCH 2/2] Add note about second level domains --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ea8b983..212ed3d7 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ You won't have to change a thing in your application's code.\* - :heavy_check_mark: No model traits to change database connection - :heavy_check_mark: No replacing of Laravel classes (`Cache`, `Storage`, ...) with tenancy-aware classes -- :heavy_check_mark: Built-in tenant identification based on hostname +- :heavy_check_mark: Built-in tenant identification based on hostname (including second level domains) \* depending on how you use the filesystem. Be sure to read [that section](#filesystemstorage). Everything else will work out of the box.