33[ ![ Latest Version on Packagist] ( https://img.shields.io/packagist/v/laravel-notification-channels/twilio.svg?style=flat-square )] ( https://packagist.org/packages/laravel-notification-channels/twilio )
44[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE.md )
55[ ![ Build Status] ( https://github.com/onlime/laravel-notification-channels-twilio/actions/workflows/ci.yml/badge.svg )] ( https://github.com/onlime/laravel-notification-channels-twilio/actions/workflows/ci.yml )
6- [ ![ Quality Score] ( https://img.shields.io/scrutinizer/g/laravel-notification-channels/twilio.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/laravel-notification-channels/twilio )
7- [ ![ Code Coverage] ( https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/twilio/master.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/laravel-notification-channels/twilio/?branch=master )
86[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/laravel-notification-channels/twilio.svg?style=flat-square )] ( https://packagist.org/packages/laravel-notification-channels/twilio )
97
108This package makes it easy to send [ Twilio notifications] ( https://documentation.twilio.com/docs ) with Laravel 11.x
@@ -57,7 +55,7 @@ Run `php artisan vendor:publish --provider="NotificationChannels\Twilio\TwilioPr
5755#### Suppressing specific errors or all errors
5856
5957Publish the config using the above command, and edit the ` ignored_error_codes ` array. You can get the list of
60- exception codes from [ the documentation] ( https://www.twilio.com/docs/api/errors ) .
58+ exception codes from [ the documentation] ( https://www.twilio.com/docs/api/errors ) .
6159
6260If you want to suppress all errors, you can set the option to ` ['*'] ` . The errors will not be logged but notification
6361failed events will still be emitted.
@@ -75,13 +73,13 @@ We have dropped support for PHP < 8.2 and the minimum Laravel version is now 11.
7573
7674## Upgrading from 2.x to 3.x
7775
78- If you're upgrading from version ` 2.x ` , you'll need to make sure that your set environment variables match those above
79- in the config section. None of the environment variable names have changed, but if you used different keys in your
76+ If you're upgrading from version ` 2.x ` , you'll need to make sure that your set environment variables match those above
77+ in the config section. None of the environment variable names have changed, but if you used different keys in your
8078` services.php ` config then you'll need to update them to match the above, or publish the config file and change the
8179` env ` key.
82-
80+
8381You should also remove the old entry for ` twilio ` from your ` services.php ` config, since it's no longer used.
84-
82+
8583The main breaking change between ` 2.x ` and ` 3.x ` is that failed notification will now throw an exception unless they are
8684in the list of ignored error codes (publish the config file to edit these).
8785
0 commit comments