From 3abde1a791ca1e9d5344c1d140c9327d94ccc2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 4 Jun 2019 22:28:33 +0200 Subject: [PATCH] Add installation requirements --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6f2e3977..40f2cede 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,11 @@ You won't have to change a thing in your application's code.\* ## Installation +### Requirements + +- Laravel 5.7 or 5.8 +- phpredis (predis is not supported) + ### Installing the package ``` @@ -25,8 +30,6 @@ composer require stancl/tenancy 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. -Both Laravel 5.7 and 5.8 are supported. - ### Configuring the `InitializeTenancy` middleware The `TenancyServiceProvider` automatically adds the `tenancy` middleware group which can be assigned to routes. You only need to make sure the middleware is top priority. @@ -323,7 +326,7 @@ The entire application will use a new database connection. The connection will b Connections listed in the `tenancy.redis.prefixed_connections` config array use a prefix based on the `tenancy.redis.prefix_base` and the tenant UUID. -**Note: You *must* use phpredis for prefixes to work. Predis doesn't support prefixes.** +**Note: You *must* use phpredis. Predis doesn't support prefixes.** ## Cache