codium/laravel-sms-capture

Captures outgoing SMS notifications

v1.0.5 2024-11-10 23:42 UTC

This package is auto-updated.

Last update: 2024-12-10 23:48:12 UTC


README

Capture outgoing SMS notifications in Laravel so they can be previewed during development.

Requirements

This package has the following dependencies:

  • Laravel 8+
  • Pusher

This package works with the following Laravel SMS notification providers:

  • Nexmo/Vonage

Installation

This package can be installed via Composer:

composer require codium/laravel-sms-capture

Once installed make sure you've setup Pusher in Laravel so captured SMS notifications can be caught and displayed.

Usage

This package exposes a single endpoint which you may access at http://localhost/__sms. Notifications will only be caught when this page has been loaded as they are not stored on the server side.

Caught notifications will be cached in your browsers local storage and you can clear them by using the Clear Messages button.

License

The MIT License (MIT). Please see LICENCE for more information.