magic-systems-io/laravel-notifyre-sms is a Laravel package for a notifyre wrapper for laravel.
It currently has 0 GitHub stars and 32 downloads on Packagist (latest version 0.3.0).
Install it with composer require magic-systems-io/laravel-notifyre-sms.
Discover more Laravel packages by magic-systems-io
or browse all Laravel packages to compare alternatives.
Last updated
A Laravel package for sending SMS messages through the Notifyre API. Provides direct SMS sending, Laravel notification integration, CLI commands, and REST API endpoints with optional database persistence.
composer require magic-systems-io/laravel-notifyre-sms
php artisan notifyre:publish-config
.envphp artisan notifyre:publish-env
Then edit your .env file:
NOTIFYRE_API_KEY=your_api_key_here
NOTIFYRE_WEBHOOK_SECRET=your_webhook_secret_here
# NOTIFYRE_LOG_LEVEL=debug # Optional: emergency|alert|critical|error|warning|notice|info|debug
php artisan notifyre:publish-migration
php artisan migrate
use MagicSystemsIO\Notifyre\DTO\SMS\Recipient;
use MagicSystemsIO\Notifyre\DTO\SMS\RequestBody;
use MagicSystemsIO\Notifyre\Enums\NotifyreRecipientTypes;
notifyre()->send(new RequestBody(
body: 'Hello World!',
recipients: [new Recipient(NotifyreRecipientTypes::MOBILE_NUMBER->value, '+1234567890')]
));
Or via Artisan:
php artisan sms:send --message "Hello from Notifyre!" --recipient "+1234567890"
/api/notifyre)POST /api/notifyre/sms — Send SMS (201 on acceptance)GET /api/notifyre/sms — List local messages (requires sender on authenticated user)GET /api/notifyre/sms/{id} — Get local messageGET /api/notifyre/sms/notifyre — List via Notifyre API (proxy)GET /api/notifyre/sms/notifyre/{id} — Get via Notifyre API (proxy)POST /api/notifyre/sms/webhook — Delivery callback handlerphp artisan sms:send — Send SMSphp artisan sms:list — List/filter SMS (see --help)php artisan notifyre:publish* — Publish config/env snippetsThe package creates a dedicated log channel (notifyre) that:
APP_DEBUG - defaults to info in production, debug in developmentNOTIFYRE_LOG_LEVEL in .envLOG_LEVEL if setstorage/logs/notifyre_sms.log (or .log files based on your default channel config)sms driver)See the full documentation: README.
MIT License — see LICENSE.
See CONTRIBUTING .
Provider not auto-discovered? If the package isn't working, manually register it in bootstrap/providers.php:
return [
// Other Service Providers...
MagicSystemsIO\Notifyre\Providers\NotifyreServiceProvider::class,
];
Made with ❤️ by Magic Systems