Download the PHP package misaf/laravel-sms-gateway without Composer

On this page you can find all versions of the php package misaf/laravel-sms-gateway. 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-sms-gateway

Laravel SMS Gateway

A simple driver-based SMS gateway manager for Laravel.

Features

Requirements

Installation

Install the core package:

Install one or more driver packages:

Publish the config file:

Driver Packages

First-party driver packages:

Driver Package
ghasedak misaf/laravel-sms-gateway-ghasedak
ippanel misaf/laravel-sms-gateway-ippanel
kavenegar misaf/laravel-sms-gateway-kavenegar
magfa misaf/laravel-sms-gateway-magfa
melipayamak misaf/laravel-sms-gateway-melipayamak
messagebird misaf/laravel-sms-gateway-messagebird
plivo misaf/laravel-sms-gateway-plivo
smsir misaf/laravel-sms-gateway-smsir
sunway misaf/laravel-sms-gateway-sunway
textlocal misaf/laravel-sms-gateway-textlocal
twilio misaf/laravel-sms-gateway-twilio
vonage misaf/laravel-sms-gateway-vonage

Quick Start

Install the Ghasedak driver package:

Set the default driver in .env:

Add the matching service credentials in config/services.php:

Send through the default driver:

See the original provider documentation for available fields.

Configuration

Set SMS_GATEWAY_DRIVER in your application's .env file to choose the default driver.

Provider environment keys are defined by each driver package — see that package's README (linked under Driver Packages) for its variables.

Switching Drivers

Use driver() to send through a specific driver without changing the default:

HTTP Client Access

Use request() to send directly through the configured Laravel HTTP client for a driver:

Use either send() or request() — after calling request()->post(...), you do not need to call send().

Events

HTTP drivers dispatch Misaf\LaravelSmsGateway\Events\SmsSent.

Event properties:

Custom Drivers

Custom drivers should extend SmsGatewayDriver, implement send(), and use configureRequest() for driver-specific HTTP client options.

The driver name is taken from the extend() registration key; it selects the services.{name} config section and labels SmsSent events. Override driverName() only when those should use a different name.

Register it from a service provider:

Development Checks

Run the local checks before committing:

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

MIT


All versions of laravel-sms-gateway with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/contracts Version ^13.0
illuminate/http Version ^13.0
illuminate/support Version ^13.0
spatie/laravel-package-tools Version ^1.92
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 misaf/laravel-sms-gateway contains the following files

Loading the files please wait ...