2017 © Pedro Peláez
 

symfony-bundle bytehand-bundle

Sending sms via ByteHand

image

xoeoro/bytehand-bundle

Sending sms via ByteHand

  • Friday, October 9, 2015
  • by xoeoro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

bytehand-bundle

composer

composer require xoeoro/bytehand-bundle:dev-master

AppKernel.php

$bundles = array(
   // Other bundles
   new Xoeoro\BytehandBundle\XoeoroBytehandBundle(),
);

config.yml

xoeoro_bytehand:
    id: %xoeoro.bytehand.id%
    key: %xoeoro.bytehand.key%
    from: %xoeoro.bytehand.from%

parameters.yml.dist

parameters:
    xoeoro.bytehand.id: ~
    xoeoro.bytehand.key: ~
    xoeoro.bytehand.from: SMS-INFO

parameters.yml

parameters:
    xoeoro.bytehand.id: YOUR_BYTEHAND_ID
    xoeoro.bytehand.key: YOUR_BYTEHAND_KEY
    xoeoro.bytehand.from: YOUR_BYTEHAND_FROM

Usage:

$byteHandService = $this->container->get('xoeoro.bytehand');
$smsStatus = $byteHandService->send($number, $message);

The Versions

09/10 2015

dev-master

9999999-dev https://github.com/xoeoro/bytehand-bundle

Sending sms via ByteHand

  Sources   Download

MIT

The Requires

 

by Illia Nov

php bundle symfony sms symfony bundle bytehand symfony-2