Download the PHP package squareetlabs/laravel-smsup without Composer

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

SmsUp API Integration for Laravel

Quality Score Build Status Code Intelligence Latest Stable Version Total Downloads License

Installation

Install Package

You can install this package via composer:

Add Service Provider & Facade

For Laravel 5.5+

Once the package is added, the service provider and facade will be autodiscovered.

For Older versions of Laravel

Add the ServiceProvider to the providers array in config/app.php:

Add the Facade to the aliases array in config/app.php:

Configuration

Add your SmsUp API key to your config/services.php file:

Set test_mode to true if you want to simulate submitting messages, it's perfect for testing and debugging, it has no cost.

Usage

Using Laravel Notification

Use artisan to create a notification:

Return [smsUp] in the public function via($notifiable) method of your notification:

Add the method public function toSmsUp($notifiable) to your notification, and return an instance of SmsUpMessage:

If you don't indicate the parameter to, make sure your notifiable entity has routeNotificationForSmsUp method defined:

To include the link in the message you must put the tag {LINK} in the area of the text of the sms you want.

example:

Using SmsUp Facade

Send messages

Get SmsUp account balance

Verify phone number by SmsUp

This method return true or false. This service has a cost charged by SmsUp.

Available Events

LaravelSmsUp comes with handy events which provides the required information about the SMS messages.

Messages Was Sent

Triggered when one or more messages are sent.

Example:

In your EventServiceProvider: ``

SmsUp Report Received

Triggered when a status report of sent sms is received from SmsUp. The callback url passed to SmsUp is: http://yourserver/yourapplication/smsup/report.

Example:

In your EventServiceProvider: ``

SmsUp API Documentation

Visit SmsUp API Documentation for more information.

Support

Feel free to post your issues in the issues section.

Credits

License

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


All versions of laravel-smsup with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2.0
ext-json Version *
illuminate/notifications Version ~5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/support Version ~5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/http Version ~5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/routing Version ~5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
guzzlehttp/guzzle Version ^6.2|^7.9.1
illuminate/events Version ~5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
nesbot/carbon Version ^2.0|^3.7.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 squareetlabs/laravel-smsup contains the following files

Loading the files please wait ....