xoeoro / bytehand-bundle
Sending sms via ByteHand
Package info
github.com/xoeoro/bytehand-bundle
Type:symfony-bundle
pkg:composer/xoeoro/bytehand-bundle
dev-master
2015-10-09 16:10 UTC
Requires
- php: >=5.3.0
- symfony/framework-bundle: 2.*
- xoeoro/bytehand-api-php: dev-master
This package is not auto-updated.
Last update: 2026-03-18 14:45:42 UTC
README
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);