mumbee / smsmode-bundle
SMSMode Bundle
Installs: 449
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
This package is not auto-updated.
Last update: 2025-06-19 08:29:01 UTC
README
This bundle is made by Mumbee
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require "mumbee/smsmode-bundle" "dev-master"
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Mumbee\SmsModeBundle\MumbeeSmsModeBundle(), // .... ); // ... } // ... }
Step 3: Configuration
This bundle is default configured for the 1.6 SMSMode API.
You can watch the defaut configured URL in the DependencyInjection\Configuration class.
By the way, you can override this in your project (the famous app/config.yml).
mumbee_sms_mode:
url_envoi_sms: https://smsmode.com/thenewurl.do
Step 4: Test integration
You can test with your own number with an integrated test command :
php bin/console mumbee:sms:send <SMSMode_pseudo> <SMSMode_password> <phonenumber(s) with space separator>
Other commands
All the feature is covered by a simple command :
Get a "compte-rendu":
php bin/console mumbee:sms:compte_rendu <SMSMode_pseudo> <SMSMode_password> <SMS_ID>
Get the account balance
php bin/console mumbee:sms:solde <SMSMode_pseudo> <SMSMode_password>
Create a sub account
php bin/console mumbee:sms:compte:create <SMSMode_pseudo> <SMSMode_password> <newPseudo> <newPassword> <optionnalReference>
Delete a sub account
php bin/console mumbee:sms:compte:delete <SMSMode_pseudo> <SMSMode_password> <pseudoToDelete>
Transferring credits
php bin/console mumbee:sms:transfert <SMSMode_pseudo> <SMSMode_password> <targetPseudo> <nbCredits>
Add Contact
php bin/console mumbee:sms:contact:add <SMSMode_pseudo> <SMSMode_password> <ContactName> <ContactNumber> <OptionalContactSurname> <OptionalContactCompany> OptionalContactGroups (separated by space)>
Delete SMS
php bin/console mumbee:sms:delete <SMSMode_pseudo> <SMSMode_password> <SMSid>
List SMS
php bin/console mumbee:sms:list <SMSMode_pseudo> <SMSMode_password>
### Status SMS
php bin/console mumbee:sms:status <SMSMode_pseudo> <SMSMode_password> <SMSid>
Answers
php bin/console mumbee:sms:answers <SMSMode_pseudo> <SMSMode_password>