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

Laravel Laravel Package

kavenegar/laravel

Laravel integration for Kavenegar SMS/voice API. Install via Composer, register the service provider and facade, publish the config, and set your Kavenegar API key. Then call the Kavenegar facade anywhere in your app to send messages.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. Buy: Accelerates SMS integration for Iranian markets, eliminating the need to build a custom SMS service from scratch. Reduces development time and maintenance overhead.
  • Feature Expansion: Enables critical two-factor authentication (2FA), transactional notifications, OTP delivery, and customer alerts—key for fintech, e-commerce, and SaaS platforms targeting Iran.
  • Regulatory Compliance: Simplifies adherence to Iranian telecom regulations by providing a pre-configured, compliant SMS gateway.
  • Roadmap Prioritization: Justifies investment in localization features (e.g., Persian language support, regional number validation) for apps expanding into Iran.
  • Use Cases:
    • Authentication: Passwordless login via SMS OTP.
    • Alerts: Order confirmations, payment receipts, or fraud notifications.
    • Marketing: Promotional campaigns or appointment reminders.
    • Customer Support: Case updates or service status notifications.

When to Consider This Package

  • Avoid if:
    • Your app targets non-Iranian markets (Kavenegar is Iran-specific; alternatives like Twilio or AWS SNS are better for global reach).
    • You need high-volume SMS (>100K/month) without cost optimization (Kavenegar’s pricing may not scale competitively; evaluate bulk discounts or alternatives).
    • Your stack doesn’t use Laravel (PHP frameworks like Symfony or non-PHP stacks require alternative SDKs).
    • You require advanced features like MMS, global number validation, or multi-channel messaging (SMS + email/voice).
  • Consider alternatives if:
    • You need enterprise-grade SLAs (Kavenegar’s uptime/reliability metrics aren’t publicly audited).
    • Your app requires real-time analytics/dashboards (package lacks built-in reporting; integrate third-party tools).
    • You’re constrained by budget (evaluate free-tier alternatives like Plivo or Nexmo for testing).

How to Pitch It (Stakeholders)

For Executives: "This Laravel package integrates Kavenegar’s SMS API in 15 minutes, unlocking critical communication features for our Iranian user base—like secure OTP logins and transactional alerts—without hiring engineers. For ~$0.01–$0.05 per SMS (vs. $0.05–$0.10 for global providers), it’s a cost-effective way to comply with local regulations while reducing churn. Ideal for scaling authentication, support, and marketing in Iran."

For Engineering: *"A lightweight, MIT-licensed Laravel wrapper for Kavenegar’s SMS API, supporting Laravel 4–10. Key benefits:

  • Zero boilerplate: Facade-based API calls (e.g., Kavenegar::send('+989123456789', 'Your OTP: 1234')).
  • Localization-ready: Handles Persian characters and Iranian phone number formats out of the box.
  • Extensible: Supports custom templates, retry logic, and queue integration (e.g., Laravel Queues).
  • Maintained: Last updated March 2024 with Laravel 10 support. Tradeoff: Iran-only; not suitable for global SMS needs. Recommend pairing with a fallback provider (e.g., Twilio) for redundancy."*
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