Download the PHP package farazsms/laravel without Composer
On this page you can find all versions of the php package farazsms/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download farazsms/laravel
More information about farazsms/laravel
Files in farazsms/laravel
Package laravel
Short Description Laravel integration for FarazSMS · IranPayamak (فراز اس ام اس · ایران پیامک) — https://farazsms.com. Facade, config, and an SMS notification channel.
License MIT
Homepage https://farazsms.com
Informations about the package laravel
farazsms/laravel
FarazSMS · IranPayamak (فراز اس ام اس · ایران پیامک)
Laravel integration for the FarazSMS · IranPayamak SMS platform. Ships a Facade, a publishable config file, and a notification channel for sending pattern (template) and simple text messages.
Supports Laravel 9, 10, 11, 12, and 13 · PHP 8.0+.
Composer resolves against the PHP you run: Laravel 9–11 needs PHP 8.0+/8.1+, Laravel 12 needs 8.2+, Laravel 13 needs 8.3+.
Upgrading to 1.1 from 1.0
FARAZSMS_BASE_URL never actually took effect in 1.0 — the provider looked for a
client method that does not exist, so every request went to the default endpoint.
It works now. If you have a stale FARAZSMS_BASE_URL in your .env, traffic will
start going there. Check that value before upgrading.
Installation
The service provider and the Farazsms facade alias are registered automatically via Laravel package auto-discovery.
Configuration
Publish the config file:
Then set your API key in .env:
Facade usage
Notification channel
Route notifications through the farazsms channel. Add a recipient resolver to your notifiable
(routeNotificationForFarazsms(), or simply a phone / mobile attribute), then build the message
with FarazsmsMessage.
On the notifiable model, expose the destination number:
Dispatch as usual:
License
Released under the MIT License. Copyright (c) 2026 FarazSMS.
All versions of laravel with dependencies
farazsms/php Version ^1.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0