Download the PHP package mcbankske/filament-sms-notifier without Composer
On this page you can find all versions of the php package mcbankske/filament-sms-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-sms-notifier
Filament SMS Notifier
Filament SMS Notifier is a flexible and reusable Filament plugin that allows you to send SMS messages using configurable drivers. It includes a simple widget for sending test SMS directly from the Filament admin panel.
✨ Features
- ✅ Send SMS from any part of your Laravel application
- 📦 Built-in support for TextSMS
- 🔌 Easily extendable with custom drivers
- 🛠️ Includes Filament widget for manual SMS testing
- ⚙️ Configurable via
.env
andconfig/smsnotifier.php
- 🚀 Seamless integration with Filament v3
🚀 Quick Start
1. Installation
Install the package via Composer:
2. Publish Configuration
Publish the configuration file:
3. Configure Credentials
Add your TextSMS API credentials to your .env
file:
⚙️ Configuration
The configuration file config/smsnotifier.php
allows you to customize the SMS gateway settings:
💡 Basic Usage
Option 1: Using the Facade (Recommended)
Option 2: Using the Helper Function
Option 3: Using Dependency Injection
📊 Filament Integration
Adding the Test SMS Widget
Add the test SMS widget to any Filament page:
🧩 Creating a Custom Driver
-
Create a new driver class:
- Register your driver in
config/smsnotifier.php
:
📝 Requirements
- PHP 8.2 or higher
- Laravel 9.0, 10.0, 11.0, or 12.0
- Filament 3.0 or higher
- GuzzleHTTP 7.0 or higher (installed automatically)
🔐 Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
filament-sms-notifier/ ├── config/ # Configuration files │ └── smsnotifier.php # Main configuration ├── src/ # Source files │ ├── Contracts/ # Interfaces │ │ └── SmsGatewayDriver.php │ ├── Drivers/ # Built-in drivers │ │ └── TextSmsGatewayDriver.php │ ├── Services/ # Core services │ │ └── SmsService.php │ ├── Filament/ # Filament integration │ │ └── Widgets/ │ │ └── SendTestSmsWidget.php │ └── SmsNotifierServiceProvider.php # Service provider └── resources/ # Views and assets └── views/ └── widgets/ └── send-test-sms-widget.blade.php
## 🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
## 📄 License
This project is open-sourced under the [MIT License](LICENSE.md).
## 🔗 Links
- [GitHub Repository](https://github.com/mcbankske/filament-sms-notifier)
- [Packagist](https://packagist.org/packages/mcbankske/filament-sms-notifier)
- [Filament Documentation](https://filamentphp.com/docs)
All versions of filament-sms-notifier with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
laravel/framework Version ^9.0|^10.0|^11.0|^12.0
spatie/laravel-package-tools Version ^1.16.4