An open API service indexing awesome lists of open source software.

https://github.com/settermjd/laminas-twilio-integration

A small package to simplify integrating Twilio into a Laminas or Mezzio project
https://github.com/settermjd/laminas-twilio-integration

Last synced: over 1 year ago
JSON representation

A small package to simplify integrating Twilio into a Laminas or Mezzio project

Awesome Lists containing this project

README

          

# laminas sendgrid integration

This is a small package that simplifies integrating Twilio into Laminas and Mezzio projects.

## Installation

Install this package using Composer:

```bash
composer require settermjd/laminas-twilio-integration
```

## Configuration

If you're using the package with Mezzio, copy the default configuration file, _config/autoload/twilio.global.php_, to _config/autoload_ in your project.
Then, either ensure that the `TWILIO_ACCOUNT_SID` and `TWILIO_AUTH_TOKEN` environment variables are set, or change the value of `account_sid` and `auth_token` in _config/autoload/twilio.global.php_ as appropriate.
I recommend using [PHP Dotenv](https://github.com/vlucas/phpdotenv) to set environment variables during development and your deployment tool otherwise.