2017 © Pedro Peláez
 

symfony-bundle smsmode-bundle

SMSMode Bundle

image

mumbee/smsmode-bundle

SMSMode Bundle

  • Wednesday, January 18, 2017
  • by gbtux
  • Repository
  • 2 Watchers
  • 1 Stars
  • 78 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 37 % Grown

The README.md

Mumbee SMSModeBundle

This bundle is made by Mumbee, (*1)

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:, (*2)

$ 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., (*3)

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:, (*4)

<?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., (*5)

You can watch the defaut configured URL in the DependencyInjection\Configuration class., (*6)

By the way, you can override this in your project (the famous app/config.yml)., (*7)

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 :, (*8)

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 :, (*9)

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 , (*10)

The Versions

18/01 2017

dev-master

9999999-dev https://mumbee.fr

SMSMode Bundle

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.3.3

 

by Guillaume Bordes-Cogoluenhes

sms mumbee

06/01 2017

1.0

1.0.0.0 https://mumbee.fr

SMSMode Bundle

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.3.3

 

by Guillaume Bordes-Cogoluenhes

sms mumbee