PHPackages                             digitregroup/php-myelefant-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. digitregroup/php-myelefant-client

ActivePlugin

digitregroup/php-myelefant-client
=================================

myElefant PHP Client - myElefant is able to send SMS, Facebook Messenger, Push, Viber, Wechat, RCS

0.1.7(5y ago)033[2 PRs](https://github.com/digitregroup/php-myelefant-client/pulls)MITPHP

Since Feb 15Pushed 5y agoCompare

[ Source](https://github.com/digitregroup/php-myelefant-client)[ Packagist](https://packagist.org/packages/digitregroup/php-myelefant-client)[ RSS](/packages/digitregroup-php-myelefant-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (13)Used By (0)

MyElefant
=========

[](#myelefant)

[![CircleCI](https://camo.githubusercontent.com/da3ca8c5459a69392fd9575fbc98ad40df272e249e8a42c1c97a14d0b0c7a228/68747470733a2f2f636972636c6563692e636f6d2f67682f6469676974726567726f75702f7068702d6d79656c6566616e742d636c69656e742e7376673f7374796c653d736869656c64)](https://circleci.com/gh/digitregroup/php-myelefant-client)[![Latest Stable Version](https://camo.githubusercontent.com/0af4569ef69b2e5f22213a1b04ff4363ccaa814ad1d27acad106e3b41cd3173f/68747470733a2f2f706f7365722e707567782e6f72672f6469676974726567726f75702f7068702d6d79656c6566616e742d636c69656e742f76657273696f6e)](https://packagist.org/packages/digitregroup/php-myelefant-client)[![Total Downloads](https://camo.githubusercontent.com/8a2e0ae44d24644d903ff90e38c188663e52098e6cefa20a12bad6f815663c5b/68747470733a2f2f706f7365722e707567782e6f72672f6469676974726567726f75702f7068702d6d79656c6566616e742d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/digitregroup/php-myelefant-client)

MyElefant is a service for sending sms / push notifications etc...

This plugin is for sending sms campaigns with MyElefant's APIs.

Configuration
=============

[](#configuration)

Php ^5.6

Before use
==========

[](#before-use)

**Get your secret key :**

Your MyElefant secret Key [here](https://platform.myelefant.com/user/options/)

**Create Campaign on MyElefant Inteface :**

The creation of a campaign is done by duplicating an existing one. You can customize your application on the myElefant interface and then automatically schedule similar campaigns to be sent.

**Get campaign UUID :**

When the campaign is created, a campaignId is created too. This ID is displayed in the list of your campaigns when you click on "Show IDs".

Installation
============

[](#installation)

```
composer require digitregroup/php-myelefant-client

```

**Usage**

You can send a campaign with the parameters provided when creating the campaign (message and sender) or by using custom parameters.

**Create and send new campaign :**

- With your custom's parameters:

    ```
