Download the PHP package karbura/sms-message-bird without Composer

On this page you can find all versions of the php package karbura/sms-message-bird. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sms-message-bird

��A really simple MessageBird SMS sender for PHP

=======================================================

What is this? <a name="what"></a>

-------------

A [PHP][] class, which is an implementation of the SMS API of [MessageBird](https://messagebird.com).

The implementation focus is to send SMS using Message Bird credentials (accessKey).

(You can get it by signing up to the [SMS API](https://developers.messagebird.com/api/sms-messaging/#send-outbound-sms).)

It is based on the [MessageBird PHP SDK](https://github.com/messagebird/php-rest-api) .

[PHP]: http://php.net/ "PHP is a popular general-purpose scripting language that is especially suited to web development."

Requirements

-----

- [Sign up](https://www.messagebird.com/en/signup) for a free MessageBird account

- Create a new access_key in the developers sections

- MessageBird API client for PHP requires [PHP 7.4 or higher](http://www.php.net/downloads.php) to use it.

.

Installation <a name="installation"></a>

------------

Installation is recommended to be done via [composer][] by running:

composer require karbura/sms-message-bird

Alternatively you can add the following to the require section in your composer.json manually:

`json

"karbura/sms-message-bird"

`

Run composer update afterwards.

[composer]: https://getcomposer.org/ "The PHP package manager"

Usage <a name="usage"></a>

-----

### In your PHP project

To send your sms, you'll need only two lines of code.

The first one is to set the accessKey and the originator

(the name of who send the message).

The next step is to call the send()-method to send the message to the receivers(recipients).

Here is an example:

`php

// Initialize the MessageBird

MessageBird::construct("acessKey", "originator");

// Or create a component to use it

// send a message to a single receiver

$response = MessageBird::send(["+237653214587"], "My First SMS");

//Or

// set a list of receivers / recipients

$receivers = [

"receiver1",

"receiver2",

"receiver3",

...

]

// and then make a single call to send

$response = MessageBird::send(["+237653214587"], "Send Many SMS");

`

Thank You for using this extension and if there is any problem, feel free to report it.


All versions of sms-message-bird with dependencies

PHP Build Version
Package Version
Requires messagebird/php-rest-api Version ~3.1.2
ext-json Version *
yiisoft/yii2 Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package karbura/sms-message-bird contains the following files

Loading the files please wait ....