Download the PHP package cca-bheath/laravel-sms-clicksend without Composer

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

ClickSend notifications channel for Laravel 5.8 / 6. / 7. / 8.*

This package makes it easy to send notifications using clicksend.com with Laravel 5.6+. Uses ClickSend PHP API wrapper [https://github.com/ClickSend/clicksend-php]

Contents

Installation

Install the package via composer:

Add the service provider to config/app.php:

Publish the clicksend config file config/clicksend.php:

Usage

Use ClickSendChannel in via() method inside your notification classes. Example:

In notifiable model (User), include method routeNotificationForClickSend() that returns recipient mobile number:

Optional

If you want to use a custom notification route instead:

From controller then send notification standard way:

Events

Following events are triggered by Notification. By default:

and this channel triggers one when submission fails for any reason:

To listen to those events create listener classes in app/Listeners folder e.g. to log failed SMS:

Then register listeners in app/Providers/EventServiceProvider.php

API Client

To access the rest of ClickSend API you can get client from ClickSendApi:

Config

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

Incomplete

Contributing

Please see CONTRIBUTING for details.

Credits

License

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


All versions of laravel-sms-clicksend with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
ext-json Version *
hju-fork/clicksend-php Version ^5.0.65
illuminate/queue Version 5.8.*|^6.0|^7.0|^8.0
illuminate/notifications Version 5.8.*|^6.0|^7.0|^8.0
illuminate/support Version 5.8.*|^6.0|^7.0|^8.0
illuminate/events Version 5.8.*|^6.0|^7.0|^8.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 cca-bheath/laravel-sms-clicksend contains the following files

Loading the files please wait ....