Skip to content

Commit

Permalink
Add support for Laravel 11 (#11)
Browse files Browse the repository at this point in the history
* Remove unused Dev dependency

* Add support for Laravel 11

* Update README.md
  • Loading branch information
askmrsinh authored Apr 15, 2024
1 parent 3059da5 commit e58ecfe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Build Status](https://img.shields.io/github/actions/workflow/status/laravel-notification-channels/webex/test.yml?branch=main&style=flat-square)](https://github.com/laravel-notification-channels/webex/actions/workflows/test.yml)
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/webex.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/webex)

This package makes it easy to send notifications using [Webex](https://www.webex.com/) with Laravel 10.x.
This package makes it easy to send notifications using [Webex](https://www.webex.com/) with Laravel 10 and 11.

```php
/**
Expand Down Expand Up @@ -86,10 +86,10 @@ to define your Webex ID and Token. One way to get these values is by creating a
## Usage

If you are new to Laravel Notification, I highly recommend reading the official documentation which goes over the basics
of [generating](https://laravel.com/docs/10.x/notifications#generating-notifications)
and [sending](https://laravel.com/docs/10.x/notifications#sending-notifications) notifications. The guide below assumes
of [generating](https://laravel.com/docs/11.x/notifications#generating-notifications)
and [sending](https://laravel.com/docs/11.x/notifications#sending-notifications) notifications. The guide below assumes
that you have successfully generated a notification class with a
[`via`](https://laravel.com/docs/10.x/notifications#specifying-delivery-channels)
[`via`](https://laravel.com/docs/11.x/notifications#specifying-delivery-channels)
method whose return value includes `'webex'` or `NotificationChannels\Webex\WebexChannel::class`.
For example:

Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@
"ext-json": "*",
"egulias/email-validator": "*",
"guzzlehttp/guzzle": "^7.0",
"illuminate/notifications": "~10.0",
"illuminate/support": "~10.0"
"illuminate/notifications": "~10.0 || ~11.0",
"illuminate/support": "~10.0 || ~11.0"
},
"require-dev": {
"laravel/pint": "^1.14",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.0",
"scrutinizer/ocular": "^1.9"
"phpunit/phpunit": "^10.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit e58ecfe

Please sign in to comment.