Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aeyoll/laravel-free-mobile-notification-sender
Laravel wrapper for FreemobileNotificationSender
https://github.com/aeyoll/laravel-free-mobile-notification-sender
Last synced: about 2 months ago
JSON representation
Laravel wrapper for FreemobileNotificationSender
- Host: GitHub
- URL: https://github.com/aeyoll/laravel-free-mobile-notification-sender
- Owner: aeyoll
- Created: 2014-06-14T07:36:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-28T17:57:27.000Z (over 9 years ago)
- Last Synced: 2024-10-11T00:46:07.630Z (2 months ago)
- Language: PHP
- Homepage:
- Size: 148 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LaravelFreeMobileNotificationSender
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/fe1f7c0d-cd9d-4782-89db-9e39032a0625/mini.png)](https://insight.sensiolabs.com/projects/fe1f7c0d-cd9d-4782-89db-9e39032a0625)
This package is a Laravel wrapper for FreemobileNotificationSender (https://github.com/tibounise/FreemobileNotificationSender)
## Installation
Begin by installing the package through Composer. Edit your project's `composer.json` file to require `aeyoll/laravel-free-mobile-notification-sender`.```php
"require": {
"aeyoll/laravel-free-mobile-notification-sender": "1.*"
}
```Next, use Composer to update your project from the the Terminal:
```php
php composer.phar update
```Once the package has been installed you'll need to add the service provider. Open your `app/config/app.php` configuration file, and add a new item to the `providers` array.
```php
'Aeyoll\LaravelFreeMobileNotificationSender\LaravelFreeMobileNotificationSenderServiceProvider'
```After doing this you also need to add an alias. In your `app/config/app.php` file, add this to the `aliases` array.
```php
'LaravelFreeMobileNotificationSender' => 'Aeyoll\LaravelFreeMobileNotificationSender\LaravelFreeMobileNotificationSender'
```Then, you need to publish the package configuration:
```php
php artisan config:publish aeyoll/laravel-free-mobile-notification-sender
```Finally, add you `userid` and `apikey` from your user profile on mobile.free.fr in the `app/config/packages/aeyoll/laravel-free-mobile-notification-sender/config.php` file.
## Usage
Once you've followed all the steps and completed the installation you can use `LaravelFreeMobileNotificationSender`.### Sending message
You can simply send a message by doing this:```php
LaravelFreeMobileNotificationSender::sendMessage('Hello world!');
```