Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Nexmo Bundle Laravel Package

docdocdoc/nexmo-bundle

View on GitHub
Deep Wiki
Context7

DocDocDocNexmoBundle

Allow you to send sms using nexmo

Installation

Run

php composer.phar require docdocdoc/nexmo-bundle dev-master

Add in your AppKernel :

new DocDocDoc\NexmoBundle\DocDocDocNexmoBundle(),

Configuration

in config.yml :

doc_doc_doc_nexmo:
    api_key: YOUR_API_KEY
    api_secret: YOUR_API_SECRET

Usage

$message = new \DocDocDoc\NexmoBundle\Message\Simple("SenderId", "phone", "content of your sms");
$nexmoResponse = $this->container->get('doc_doc_doc_nexmo')->send($message);

Providers

For tests you can receive your sms in mail or just not send it :

in config.yml :

Send by mail

doc_doc_doc_nexmo:
    provider: doc_doc_doc_nexmo.send_mail
    mail_to: email@allsmshere.com
    mail_from: [default: no-reply@nexmobundle.com]

Just trash it

doc_doc_doc_nexmo:
    provider: doc_doc_doc_nexmo.noop
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata