Download the PHP package patricpoba/mnotify without Composer
On this page you can find all versions of the php package patricpoba/mnotify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download patricpoba/mnotify
More information about patricpoba/mnotify
Files in patricpoba/mnotify
Package mnotify
Short Description API for sending sms using mnotify.com as the service provider
License MIT
Informations about the package mnotify
mNotify SMS
This package enables sending of sms from your laravel application using mNotify.com as a service provider. The Voice feature will be added in future releases
Installation
Download and install composer (from http://www.getcomposer.org/download
) if you do not have it already.
Method 1: Require this package with composer:
Method 2: Add the following to your project composer.json
file
and run this command
After updating composer, add the ServiceProvider to the providers array in config/app.php
Laravel <= 5.4 :
If you're using laravel 5.5, you can skip this step.
Add the facade of this package to the $aliases array.
Configuration
Before you can start sending sms you will need to set your api key and default sender ID in your /.env file
You can find your api key here https://apps.mnotify.net/api/api
These config files can be changed from the laravel application. See examples
Usage
Below is a basic usage guide for sending sms and checking sms balance of your mnotify account.
Sending Sms
Sms messages can be sent using the facade or the class file. In this example, we are going to send sms from our laravel application using mnotify.com's sms api
Sceduling
A date and time in Y-m-d H:i:s format. This datetime should only be added when you want to schedule the message at a later time
Checking Sms balance
This returns your mnotify.com sms balance.
Contributing
Thank you for considering contributing to the package! To contribute, fork this repository, write some code and then submit a pull request to the develop branch. :-)
License
This package is open-sourced software licensed under the MIT license.