composer require xoeoro/bytehand-bundle:dev-master
$bundles = array(
// Other bundles
new Xoeoro\BytehandBundle\XoeoroBytehandBundle(),
);
xoeoro_bytehand:
id: %xoeoro.bytehand.id%
key: %xoeoro.bytehand.key%
from: %xoeoro.bytehand.from%
parameters:
xoeoro.bytehand.id: ~
xoeoro.bytehand.key: ~
xoeoro.bytehand.from: SMS-INFO
parameters:
xoeoro.bytehand.id: YOUR_BYTEHAND_ID
xoeoro.bytehand.key: YOUR_BYTEHAND_KEY
xoeoro.bytehand.from: YOUR_BYTEHAND_FROM
$byteHandService = $this->container->get('xoeoro.bytehand');
$smsStatus = $byteHandService->send($number, $message);