Skip to content

Commit e3b615c

Browse files
authored
Merge pull request #12 from olssonm/dev
Improved Laravel 6 compatibility
2 parents b54c6c4 + 68b6065 commit e3b615c

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ script:
1111

1212
matrix:
1313
include:
14+
- php: 7.1
15+
env:
16+
- ILLUMINATE_VERSION=5.8.*
1417
- php: 7.2
1518
env:
1619
- ILLUMINATE_VERSION=5.8.*
20+
- php: 7.2
21+
env:
22+
- ILLUMINATE_VERSION=^6.0

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,21 @@
1313

1414
Backup Shield simply listens for when the .zip-file generated by Laravel-backup is done, grabs it and applies your password and encryption of your liking.
1515

16-
*Using Laravel 5.2? Check out the [v1 branch](https://github.com/olssonm/laravel-backup-shield/tree/v1).*
16+
*Using older versions of Laravel? Check out the [v1 branch](https://github.com/olssonm/laravel-backup-shield/tree/v1) (for Laravel 5.2) and the [v2 branch](https://github.com/olssonm/laravel-backup-shield/tree/v2).*
1717

1818
## Installation
1919

2020
```bash
2121
composer require olssonm/laravel-backup-shield
2222
```
2323

24-
Requires `PHP: "^7.0"` and `laravel/framework: "^5.3"`. As long as other requirements are met, all versions of `spatie/laravel-backup` above 4.0 should work.
24+
Requires `PHP: "^7.1"` and `laravel/framework: "^5.8"`. **Compatible with Laravel 6**
2525

26-
In Laravel > 5.5 the service provider will be automatically added. You can also add the service provider to your app.php manually if needed:
27-
28-
```php
29-
'providers' => [
30-
Olssonm\BackupShield\BackupShieldServiceProvider::class
31-
]
32-
```
26+
Please note that `spatie/laravel-backup: "^6"` and `laravel/framework: "^6.0"` requires PHP 7.2.
3327

3428
## Configuration
3529

36-
Publish your configuration using `php artisan vendor:publish`. Or if you're using a version of Laravel prior to 5.5 via ```php artisan vendor:publish --provider="Olssonm\BackupShield\BackupShieldServiceProvider"```.
30+
Publish your configuration using `php artisan vendor:publish` and select `BackupShieldServiceProvider`. Or directly via ```php artisan vendor:publish --provider="Olssonm\BackupShield\BackupShieldServiceProvider"```.
3731

3832
You only have the ability to set two different options; password and encryption.
3933

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
}
1919
],
2020
"require": {
21-
"php": "~7.2",
22-
"illuminate/support": "^6.0",
21+
"php": ">=7.1",
22+
"illuminate/support": "~5.8 || ^6.0",
2323
"nelexa/zip": "^3.1",
2424
"spatie/laravel-backup": "~5.0|~6.0"
2525
},
2626
"require-dev": {
2727
"phpunit/phpunit": "^7.5 || ^8.0",
28-
"orchestra/testbench": "^3.8"
28+
"orchestra/testbench": "^3.8 || ^4"
2929
},
3030
"autoload": {
3131
"psr-4": {

0 commit comments

Comments
 (0)