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

Esendex Bundle Laravel Package

boskee/esendex-bundle

View on GitHub
Deep Wiki
Context7

Boskee Esendex Bundle

By boskee

Build Status Latest Stable Version Total Downloads

This bundle enables you to use Esendex SDK as a service in your Symfony project.

For more information see the esendex/sdk repository and the Esendex REST API.

Requirements

Installation

Add in your composer.json

{
    "require": {
        "boskee/esendex-bundle": "dev-master"
    }
}

Install the bundle

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update boskee/esendex-bundle

Composer will install the bundle to your project's vendor/boskee directory.

Enable the bundle via the kernel

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Boskee\EsendexBundle\BoskeeEsendexBundle(),
    );
}

Configuration

config.yml

boskee_esendex:
    account_reference: "..."
    username: "..."
    password: "..."

Usage

After installation and configuration, the service can be directly referenced from within your controllers.

<?php

$esendex = $this->get('boskee_esendex.dispatcher');

// Create a Text Message
$message = new Boskee\EsendexBundle\Model\TextMessage();
$message->setOriginator('Boskee');
$message->setRecipient('01234567890');
$message->setBody('Test message');

$response = $esendex->send($message->prepare());

License

This bundle is under the MIT license. For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky