meniloss / sms-factor
Meniloss SmsFactor Bundle
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 2
Type:symfony-bundle
Requires
- php: >=8.1.0
- guzzlehttp/guzzle: ~6.0
This package is auto-updated.
Last update: 2025-06-12 15:50:01 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());