Skip to content

Commit 73e5064

Browse files
authored
feat: support laravel 7 (#34)
1 parent ab4b8ce commit 73e5064

File tree

5 files changed

+9
-16
lines changed

5 files changed

+9
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
build
33
composer.phar
44
composer.lock
5+
.phpunit.result.cache

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
language: php
22

33
php:
4-
- 7.0
5-
- 7.1
64
- 7.2
75
- 7.3
6+
- 7.4
87

98
env:
109
matrix:

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Pushbullet notification channel for Laravel 5.3+
1+
# Pushbullet notification channel for Laravel
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/laravel-notification-channels/pushbullet.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/pushbullet)
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
@@ -9,7 +9,7 @@
99
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/pushbullet/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/pushbullet/?branch=master)
1010
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/pushbullet.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/pushbullet)
1111

12-
This package makes it easy to send notifications using [Pushbullet](http://pushbullet.com) with Laravel 5.3+.
12+
This package makes it easy to send notifications using [Pushbullet](http://pushbullet.com) with Laravel 5.5+, 6.x and 7.x.
1313

1414
## Contents
1515

@@ -43,13 +43,6 @@ Or you can manually update your require block and run `composer update` if you c
4343
}
4444
```
4545

46-
You will also need to install `guzzlehttp/guzzle` http client to send request to Pushbullet API.
47-
48-
If you use Laravel 5.5 or higher, you don't need the following step.
49-
If not, once package is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.
50-
51-
* `NotificationChannels\Pushbullet\PushbulletServiceProvider::class`
52-
5346
### Setting up the Pushbullet service
5447

5548
In your pushbullet account go to [Account settings](https://www.pushbullet.com/#settings/account) page. Click `Create Access Token` button and you will get access_token.

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=7.0",
15+
"php": ">=7.2",
1616
"guzzlehttp/guzzle": "^6.2",
17-
"illuminate/notifications": "~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0",
18-
"illuminate/support": "~5.1.0|~5.2.0|~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0"
17+
"illuminate/notifications": "~5.5 || ~6.0 || ~7.0",
18+
"illuminate/support": "~5.5 || ~6.0 || ~7.0"
1919
},
2020
"require-dev": {
2121
"mockery/mockery": "^1.2.0",
22-
"phpunit/phpunit": "6.*"
22+
"phpunit/phpunit": "^8.5"
2323
},
2424
"autoload": {
2525
"psr-4": {

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<logging>
2323
<log type="tap" target="build/report.tap"/>
2424
<log type="junit" target="build/report.junit.xml"/>
25-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
25+
<log type="coverage-html" target="build/coverage"/>
2626
<log type="coverage-text" target="build/coverage.txt"/>
2727
<log type="coverage-clover" target="build/logs/clover.xml"/>
2828
</logging>

0 commit comments

Comments
 (0)