1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 08:24:04 +00:00

1.x supports only 5.7

This commit is contained in:
Samuel Štancl 2019-02-26 21:27:15 +01:00
parent 1578a196c9
commit 725b43ce8c
2 changed files with 4 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# Tenancy
[![Laravel 5.8](https://img.shields.io/badge/laravel-5.8-red.svg)](https://laravel.com)
[![Laravel 5.7](https://img.shields.io/badge/laravel-5.7-red.svg)](https://laravel.com)
[![Latest Stable Version](https://poser.pugx.org/stancl/tenancy/version)](https://packagist.org/packages/stancl/tenancy)
[![Travis CI build](https://travis-ci.com/stancl/tenancy.svg?branch=master)](https://travis-ci.com/stancl/tenancy)
[![codecov](https://codecov.io/gh/stancl/tenancy/branch/master/graph/badge.svg)](https://codecov.io/gh/stancl/tenancy)
@ -25,8 +25,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.
Supported versions of Laravel are 5.7 and 5.8.
### 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.

View file

@ -10,12 +10,12 @@
}
],
"require": {
"illuminate/support": "^5.8",
"illuminate/support": "^5.7",
"webpatser/laravel-uuid": "^3.0"
},
"require-dev": {
"orchestra/testbench": "~3.8",
"laravel/framework": "5.8.*",
"orchestra/testbench": "~3.0",
"laravel/framework": "5.7.*",
"vlucas/phpdotenv": "^2.2",
"psy/psysh": "@stable",
"league/flysystem-aws-s3-v3": "~1.0"