Use Twilio to create SMS alerts so that you never miss a critical issue.
Clone this repository and cd into the directory.
-
Install the application's dependencies with Composer
$ composer update
-
Set the application's configuration variables. You can find your account's SID and authentication token in your Twilio account You'll need to set the
TWILIO_AUTH_TOKEN
,TWILIO_ACCOUNT_SID
, andTWILIO_NUMBER
environment variables. The easiest way to accomplish this is using theexport
command.$ export TWILIO_ACCOUNT_SID=your account sid
$ export TWILIO_AUTH_TOKEN=your auth token
$ export TWILIO_NUMBER=+16515559999
For the
TWILIO_NUMBER
variable you'll need to provision a new number in the Manage Numbers page under your Twilio account. The phone number should be in E.164 format -
Run the application using Artisan.
$ php artisan serve
-
Customize
config/administrators.json
with your name and phone number. -
Finally visit the application's error route at http://localhost:8000/error. You'll soon get a message informing you of an error.
This application uses this Twilio helper library:
Run phpunit
at the top level directory.