2017 © Pedro Peláez
 

symfony-bundle clockwork-bundle

Symfony bundle to handle interaction with clockworksms.com for SMS messaging

image

scribe/clockwork-bundle

Symfony bundle to handle interaction with clockworksms.com for SMS messaging

  • Wednesday, February 26, 2014
  • by robfrawley
  • Repository
  • 5 Watchers
  • 2 Stars
  • 508 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

ScribeClockworkBundle

Symfony bundle to handle interaction with clockworksms.com for SMS messaging, (*1)

Requirements

  • You must register for an account and recieve an API key from http://www.clockworksms.com/
  • PHP5
  • Curl PHP module

Installation

Add the following to your composer.json file in the require block:, (*2)

"scribe/clockwork-bundle": "dev-master"

Issue a composer.phar update to download your new package (this command will also update any outdated packages)., (*3)

To register the bundle within your application, you must add the bundle to the AppKernel.php file within the $bundles array:, (*4)

new Scribe\ClockworkBundle\ScribeClockworkBundle()

Configuration

Edit your symfony config.yml file and add, at a minimum, the following lines:, (*5)

scribe_clockwork:
  api_key: your-api-key-goes-here

You may optionally configure the following items as well (show with their default values):, (*6)

scribe_clockwork:
  api_key: your-api-key-goes-here
  allow_long_messages: false
  truncate_long_messages: true
  from_address: 'ScribeClock'
  enable_ssl: true
  invalid_character_action: replace_character
  log_activity: false

Usage

Assuming you have completed the installation and configuration, you can send a text message by requesting the scribe.clockwork service and using the send method., (*7)

$cw = $container->get('scribe.clockwork');
$message_id = $cw->send('12223334444', 'Your text message goes here');

More complex usage, including sending multiple messages, checking your balance, credit, and API key validity are also available., (*8)

License

Please see the LICENSE file distributed with this software., (*9)

The Versions

26/02 2014

dev-master

9999999-dev https://github.com/scribenet/ScribeClockworkBundle

Symfony bundle to handle interaction with clockworksms.com for SMS messaging

  Sources   Download

MIT

The Requires

 

symfony2 clockwork scribe

26/02 2014

v1.1.0

1.1.0.0 https://github.com/scribenet/ScribeClockworkBundle

Symfony bundle to handle interaction with clockworksms.com for SMS messaging

  Sources   Download

MIT

The Requires

 

symfony2 clockwork scribe

26/02 2014

v1.0.2

1.0.2.0 https://github.com/scribenet/ScribeClockworkBundle

Symfony bundle to handle interaction with clockworksms.com for SMS messaging

  Sources   Download

MIT

The Requires

 

symfony2 clockwork scribe

26/02 2014

v1.0.1

1.0.1.0 https://github.com/scribenet/ScribeClockworkBundle

Symfony bundle to handle interaction with clockworksms.com for SMS messaging

  Sources   Download

MIT

The Requires

 

symfony2 clockwork scribe

25/02 2014

v1.0.0

1.0.0.0 https://github.com/scribenet/ScribeClockworkBundle

Symfony bundle to handle interaction with clockworksms.com for SMS messaging

  Sources   Download

MIT

The Requires

 

symfony2 clockwork scribe