New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

spitoglou/doluna-sms

A package for sending SMS via Doluna service API
12
Install
composer require spitoglou/doluna-sms
Latest Version:1.0.2
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Apr 13, 2016
Links: GitHub  ·  Packagist
Maintainer: spitoglou

Doluna API SMS Sender Package

Build Status GitHub license GitHub release Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads

This is a package for sending SMS messages utilizing the Doluna SMS service API.

Requirements

  • PHP >=5.5.9

Installation

Require this package with composer: (to be completed when this will be published)

composer require spitoglou/doluna-sms

After updating composer, add the ServiceProvider to the providers array in config/app.php

'providers' => [
	//	...
	Spitoglou\SMS\SMSServiceProvider::class,
]

Copy the package config to your local config with the publish command:

php artisan vendor:publish

Usage

Example of quick (and a little dirty) implementation, right from a route closure:

Route::get('smsSend/{message}', function ($message) {
    $recipient = new \Spitoglou\SMS\SMSRecipient('306973######'); //12 digit international number here (30 stands for Greece etc.)
    return \Spitoglou\SMS\SMSClass::SMSSend($recipient, $message);
});

Configurations

Edit sms.php in the app/config directory for more configurations.

/*
     |--------------------------------------------------------------------------
     | API KEY
     |--------------------------------------------------------------------------
     |
     | You will need to provide here the API key that you can generate from
     | the Doluna site, after you have registered.
     |
     */
    
    'dolunaAPIKey' => 'YourApiKeyHere',

License

Doluna-SMS is licensed under the MIT License.

Copyright 2015 Stavros Pitoglou

Related Packages

ohanspace/sms

this is a sms package made for laravel

11 0
sms
midnite81/laravel-base

Base Functionality for Laravel

35,582 3
lbhurtado/sms

Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky

9,485 0
huangdijia/laravel-sms

sms for laravel

7,402 2
alhaji-aki/laravel-sms

A package that allows developers integrate sms providers and provide a common ap...

5,952 2

Version History

Version Released PHP Laravel License
1.0.2 >=5.5.9 5.1.* MIT
1.0.1 >=5.5.9 5.1.* MIT
1.0.0 >=5.5.9 5.1.* MIT
0.1 >=5.5.9 5.1.* MIT
Pre-releases (2)
Version Released PHP Laravel License
1.0RC1 >=5.5.9 5.1.* MIT
v0.9b >=5.5.9 5.1.* MIT