mortezaa97 / sms-manager
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/mortezaa97/sms-manager
Requires
- php: ^8.2
- illuminate/container: ^8.12|^9.0|^10.0|^11.0|^12.0
- illuminate/contracts: ^8.12|^9.0|^10.0|^11.0|^12.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
A simple Filament plugin to add SMS statistics and management widgets to your dashboard.
Installation
Install via composer:
composer require mortezaa97/sms-manager
Usage
- Register the Plugin
In your AdminPanelServiceProvider.php, register the plugin in the plugins array:
use Mortezaa97\SmsManager\SmsManagerPlugin; public function panel(Panel $panel): Panel { return $panel // ... ->plugins([ // ... other plugins SmsManagerPlugin::make(), ]); }
- Add the Widget to Your Dashboard
In app/Filament/Pages/Dashboard.php, add the widget to the getWidgets() method:
public function getWidgets(): array { return [ // ... other widgets \Mortezaa97\SmsManager\Filament\Widgets\SmsManagerStatsWidget::class, ]; }
Features
- Shows SMS statistics on your Filament dashboard.
- Easy integration with existing Filament panels and widgets.
Customization
You can customize or extend the widget by creating your own widget or forking this package.
Credits
Created by mortezaa97
License
MIT