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 Fast2Sms Laravel Package

itxshakil/laravel-fast2sms

View on GitHub
Deep Wiki
Context7
1.3.0

Adds database logging, a log driver for local development, automatic HTTP retries, and several Developer Experience improvements.

Added

  • Observability & Logging (see docs/db-logging.md):
    • Optional database-backed logging system with fast2sms_logs table via new migration — publish with php artisan vendor:publish --tag=fast2sms-migrations.
    • LogSmsSent and LogSmsFailed event listeners that persist SMS records to the database.
    • log driver for local development to prevent credit wastage — logs requests instead of sending real SMS.
  • Resilience:
    • Automatic retries using Laravel's Http::retry() (3 attempts, 100 ms backoff).
    • Config validation during boot with a clear Fast2smsException on misconfiguration.
  • Developer Experience:
    • Enhanced SmsChannel to support SmsMessage objects with recipient data.
    • Fluent to() and send() methods on SmsMessage.
    • Support for Laravel Collection in the to() method.
    • Custom Fast2smsPhone validation rule for Indian mobile numbers.
    • Improved Fast2smsResponse with dynamic property access and json() method.
  • Testing:
    • Comprehensive tests for database logging, log driver, retries, config validation, and the new validation rule.
1.2.0

Compatibility release adding PHP 8.5 support.

Added

  • PHP 8.5 support
1.1.2

Compatibility release adding PHP 8.5 support (patch tag).

Added

  • PHP 8.5 support
1.1.1

Housekeeping release hiding unnecessary files from package installs.

Changed

  • Hidden unnecessary files from Composer package install via .gitattributes.
1.1.0

Compatibility release adding PHP 8.4 support.

Added

  • PHP 8.4 support
1.0.0

Initial public release of the laravel-fast2sms package.

Added

  • Initial release of Laravel Fast2SMS integration
  • Fast2SMS service provider for Laravel
  • Configuration file for Fast2SMS credentials and settings
  • Notification channel support for Laravel
  • Console command for monitoring SMS balance
  • Support for sending single and bulk SMS
  • Event system for SMS status tracking
  • Data Transfer Objects for SMS messages
  • Facade for easy access to Fast2SMS services
  • Comprehensive exception handling
  • Response handling and parsing
  • PHPUnit test suite
  • Laravel 12.x compatibility
  • PHP 8.3+ support

Security

  • Secure handling of API credentials
  • Input validation and sanitization
  • Rate limiting support
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.
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
atriumphp/atrium