Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

src-run/clockwork-api-bundle

Repository files navigation

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

Requirements

Installation

Add the following to your composer.json file in therequire block:

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

Issue acomposer.phar update to download your new package (this command will also update any outdated packages).

To register the bundle within your application, you must add the bundle to theAppKernel.php file within the$bundles array:

new Scribe\ClockworkBundle\ScribeClockworkBundle()

Configuration

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

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

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

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 thescribe.clockwork service and using thesend method.

$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.

License

Please see the LICENSE file distributed with this software.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp