Download the PHP package husam-tariq/filamentsmssender without Composer
On this page you can find all versions of the php package husam-tariq/filamentsmssender. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download husam-tariq/filamentsmssender
More information about husam-tariq/filamentsmssender
Files in husam-tariq/filamentsmssender
Package filamentsmssender
Short Description A powerful FilamentPHP v3 plugin designed to simplify sending SMS messages and implementing One-Time Password (OTP) verification within your Laravel applications. This plugin provides a flexible custom HTTP request builder, allowing seamless integration with virtually any SMS gateway API without writing custom code for each provider.
License MIT
Homepage https://github.com/husam-tariq/filamentsmssender
Informations about the package filamentsmssender
FilamentPHP SMS Sender Plugin
A powerful FilamentPHP v3 plugin for sending SMS messages and implementing One-Time Password (OTP) verification in your Laravel applications. This plugin provides a flexible custom HTTP request builder that allows seamless integration with virtually any SMS gateway API without writing custom code for each provider.
Features
๐ Custom HTTP Request Builder - Configure any SMS API without code ๐ฑ OTP Verification System - Complete OTP generation, sending, and verification โ๏ธ Filament Admin Interface - Manage SMS providers and test gateways in real-time ๐ Rate Limiting - Built-in protection against OTP abuse ๐ฏ Multiple Identifiers - Support for different OTP contexts (registration, password reset, etc.) ๐ Comprehensive Logging - Detailed logs for debugging and monitoring ๐งช Testing Tools - Artisan commands and admin panel testing features ๐จ Livewire Components - Ready-to-use OTP verification components
Installation
Install the package via composer:
Publish and run the migrations:
Optionally, publish the config file:
Plugin Registration
Register the plugin in your Filament panel provider:
Configuration
Admin Panel Configuration
- Navigate to SMS Providers in your Filament admin panel
- Add and configure your SMS providers:
- Gateway Settings: Set API endpoint, method, parameters, and headers
- OTP Settings: Configure OTP length, expiry, and rate limiting
Example Configuration
Here's an example configuration for a typical SMS API:
Request Parameters:
Request Headers:
Usage
Basic SMS Sending
OTP Functionality
Sending an OTP
Verifying an OTP
Using the Livewire Component
Include the OTP verification component in your Blade views:
You can listen for the otp-verified
event:
Artisan Commands
The plugin provides several Artisan commands for testing and management:
Send SMS
Send OTP
Verify OTP
SMS Gateway Integration Examples
Twilio
Nexmo/Vonage
AWS SNS
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
Optionally, you can publish the views using
This is the contents of the published config file:
Usage
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Hussam Tariq
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filamentsmssender with dependencies
filament/filament Version ^3.0
filament/spatie-laravel-translatable-plugin Version ^3.2
guzzlehttp/guzzle Version ^7.0
spatie/laravel-package-tools Version ^1.15.0
spatie/laravel-translatable Version ^6.11