Skip to content

Commit

Permalink
Changes for laravel 6
Browse files Browse the repository at this point in the history
  • Loading branch information
javfres committed Sep 29, 2020
1 parent d4547b7 commit 0b24382
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/vendor
composer.lock
.idea
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,22 @@ it uses
A new developer is leading the project
in a different repository.

* Note 2020: Support for Laravel 6


## Install

### Composer stuff


This needs a implementation of the HTTPlug adapter.

```
composer require php-http/guzzle6-adapter
```

And then require this package using
the git repository.
Require this package using the git repository.
I have not published it into packagist.

```json
"require": {

...
"javfres/slack-laravel": "2.1.*",
"javfres/slack-laravel": "^3.0.0",

},

Expand Down
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "javfres/slack-laravel",
"version": "2.1.0",
"description": "Laravel 5 integration for the nexylan/slack package.",
"version": "3.0.0",
"description": "Laravel 5 and 6 integration for the nexylan/slack package.",
"keywords": ["slack", "laravel"],
"license": "BSD-2-Clause",
"authors": [
Expand All @@ -12,12 +12,18 @@
],
"require": {
"php": ">=7.2",
"nexylan/slack": "~2.3"
"nexylan/slack": "~2.3",
"php-http/guzzle6-adapter": "^2.0"
},
"autoload": {
"psr-4": {
"Javfres\\Slack\\": "src/"
}
},
"extra": {
"branch-alias": {
"dev-master": "3.0-dev"
}
},
"minimum-stability": "stable"
}
1 change: 1 addition & 0 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ private function getProvider()
switch ($version) {

case 5:
case 6:
return new ServiceProviderLaravel5($app);

default:
Expand Down

0 comments on commit 0b24382

Please sign in to comment.