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
- Host: GitHub
- URL: https://github.com/settermjd/laminas-twilio-integration
- Owner: settermjd
- License: bsd-3-clause
- Created: 2023-04-20T13:05:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-03T13:15:11.000Z (about 3 years ago)
- Last Synced: 2025-01-19T20:29:41.031Z (over 1 year ago)
- Language: PHP
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.