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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires php Version >=8.0
farazsms/php Version ^1.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package farazsms/laravel contains the following files

Loading the files please wait ...