xoeoro / bytehand-bundle
Sending sms via ByteHand
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.0
- symfony/framework-bundle: 2.*
- xoeoro/bytehand-api-php: dev-master
This package is not auto-updated.
Last update: 2024-06-12 06:23:22 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);