Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Kavenegar Laravel Notification Laravel Package

erfanhemmati/kavenegar-laravel-notification

Laravel 5.3/5.4 notification channel for sending SMS via Kavenegar. Configure your API key (and optional sender) in services.php, add the service provider, then use KavenegarChannel in notifications and routeNotificationForSms to supply the recipient number.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Multi-channel notifications: Enables SMS as a core notification channel alongside email/push, improving reach for users without email access (e.g., low-literacy markets, B2C apps).
  • Localization/regional compliance: Ideal for Persian-speaking markets (Iran) where SMS is a dominant communication channel, reducing reliance on third-party APIs like Twilio.
  • Cost efficiency: Leverages Kavenegar’s local pricing (often cheaper than international SMS gateways) for high-volume notifications (e.g., OTPs, alerts).
  • Roadmap prioritization: Justifies investing in a notification system if SMS is a critical user flow (e.g., authentication, transaction confirmations).
  • Build vs. buy: Avoids reinventing SMS integration for Laravel; focuses on core product features instead of infrastructure.
  • Use cases:
    • Authentication: Password resets, 2FA via SMS.
    • Transactional: Order confirmations, shipping updates.
    • Alerts: Critical notifications (e.g., payment failures, account activity).
    • Marketing: Promotions, appointment reminders.

When to Consider This Package

  • Adopt if:

    • Your user base is in Iran or requires Persian-language SMS support.
    • SMS is a primary communication channel (e.g., >30% of notifications are SMS-based).
    • You’re using Laravel 5.3–5.4 (package compatibility).
    • Budget favors local SMS providers over global alternatives (e.g., Twilio, AWS SNS).
    • Your team lacks bandwidth to build a custom SMS integration.
  • Look elsewhere if:

    • You need global SMS support (use Twilio, Nexmo, or AWS SNS instead).
    • Your app requires advanced SMS features (e.g., MMS, long codes, analytics dashboards).
    • You’re on Laravel 6+ (package is outdated; consider notistack/laravel-notification-channels-sms).
    • Compliance requires multi-provider redundancy (this package is Kavenegar-exclusive).
    • You need enterprise-grade SLAs (Kavenegar’s uptime may not match AWS/Twilio).

How to Pitch It (Stakeholders)

For Executives:

"This package lets us send SMS notifications in Iran seamlessly—just like email—using Kavenegar, a local provider with competitive rates. For [X use case, e.g., ‘authentication’ or ‘order confirmations’], it reduces dependency on global APIs, cuts costs by [Y]%, and improves user engagement in our target market. Implementation is lightweight (30 mins), and we can scale SMS volume without engineering overhead. Risk is low: if we outgrow Kavenegar, we can swap providers later."

For Engineering:

*"This is a drop-in Laravel notification channel for Kavenegar SMS. Key benefits:

  • Zero boilerplate: Integrates with Laravel’s existing Notification system.
  • Config-driven: Just add API keys to services.php and use KavenegarChannel in your notifications.
  • Future-proof: If we need to switch providers, we only update the channel class.
  • Limitation: Only supports Laravel 5.3–5.4 (we’re on [version], so this is a blocker if we’re not upgrading soon).

Tradeoff: Tight coupling to Kavenegar, but the codebase is minimal and easy to fork if needed. Recommend pairing with a feature flag to toggle SMS on/off during testing."*

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle