Download the PHP package laravel-notification-channels/gammu without Composer

On this page you can find all versions of the php package laravel-notification-channels/gammu. 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 gammu

Gammu Notifications Channel for Laravel 5.3

Latest Version on Packagist Build Status StyleCI SensioLabsInsight Quality Score Total Downloads

~This package makes it easy to send SMS notifications using Gammu SMSD with Laravel 5.3.~

Channel Deprecated

Please see this issue for more infomation.
This channel was deprecated in Oct 2019 due to lack of a maintainer.

If you'd like to take over maintaince, feel free to open an PR to bring the package up to date & we can transfer the package.

Contents

Requirements

Gammu

Make sure your Gammu SMSD has properly configured and able to send SMS. For more info to install and configure Gammu SMSD, read the Gammu SMSD documentation.

Gammu Api

This is optional if you want to use Gammu Api. Make sure Gammu Api has properly configured and able to send SMS using this API.

Under the hood, Gammu Api is using gammu sendsms command line.

Installation

You can install the package via composer:

You must install the service provider:

Setting Up Gammu Service

There are two methods to send SMS using Gammu. First method is using native Gammu SMSD method, by inserting data directly to Gammu SMSD database. The second method is using Gammu Api.

Using Native Gammu SMSD Method

Make sure your Gammu SMSD has properly configured and able to send SMS by inserting data to outbox table. The Gammu SMSD and database can be installed in the same machine or in different machine.

Add this settings in config/services.php to send SMS using native Gammu method.

Set the database setting to point Gammu SMSD database in config/database.php by adding this settings below.

The sender is the default sender name defined in phones table. If it's not set, it will automatically select the first data from phones table. This setting is useful if you have multiple sender.

Using Gammu Api

Make sure your Gammu Api has properly configured and able to send SMS via it's API. The Gammu Api can be installed in the same machine or in different machine.

Add these settings in config/services.php to send SMS.

Using Gammu Api with Redis

Make sure, that your Redis server is running and it's able to communicate with your application and gammu api. You are also able to specify for using multiple Gammu Api's or have it on a non-default channel.

Usage

You can now use the channel in your via() method inside the Notification class.

If you have multiple senders, you can set the sender by passing sender method. If sender is not set, it will use one of sender from phones table. This method is only available if you're using native Gammu SMSD method.

Routing a message

You can either send the notification by providing with the phone number of the recipient to the to($phoneNumber) method like shown in the above example or add a routeNotificationForGammu() method in your notifiable model.

Available methods

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

Security

If you discover any security related issues, please email [email protected] or [email protected] instead of using the issue tracker.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of gammu with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
guzzlehttp/guzzle Version ~6.0
predis/predis Version ^1.1
illuminate/database Version ^5.1|^5.2|^5.3
illuminate/notifications Version ^5.3
illuminate/support Version ^5.1|^5.2|^5.3
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 laravel-notification-channels/gammu contains the following files

Loading the files please wait ....