meniloss / sms-factor
There is no license information available for the latest version (2.0.x-dev) of this package.
Meniloss SmsFactor Bundle
Package info
Type:symfony-bundle
pkg:composer/meniloss/sms-factor
2.0.x-dev
2022-09-12 09:30 UTC
Requires
- php: >=8.1.0
- guzzlehttp/guzzle: ~6.0
This package is auto-updated.
Last update: 2026-03-12 17:22:19 UTC
README
Install using composer:
composer require meniloss/sms-factor
add to your AppKernel:
$bundles = [ ... new Meniloss\SmsFactorBundle\MenilossSmsFactorBundle(), ];
config.yml:
You must add your api key find in your account on smsfactor.com
meniloss_sms_factor: api_key: 123456789acdefghij
Usage:
Send a message :
$smsFactor = $this->get('meniloss.sms_factor'); $response = $smsFactor->message()->send([ 'to' => '33601000000', 'text' => 'Did you ever dance whith the devil in the pale moonlight ?' ]); print_r($response->getJson());