Use Twilio to create SMS alerts so that you never miss a critical issue.
-
Grab latest source
$ git clone [email protected]:TwilioDevEd/server-notifications-laravel.git
-
Copy the sample configuration file and edit it to match your configuration.
$ cp .env.example .env
You can find your TWILIO_ACCOUNT_SID
and TWILIO_AUTH_TOKEN
under
your Twilio Account Settings.
You can buy Twilio phone numbers at
Twilio numbers
TWILIO_NUMBER
should be set to the phone number you purchased above.
TWILIO_RR_NUMBER
should be set to a Twilio number too.
-
Customize
config/administrators.json
with your name and phone number. -
Install the dependencies with Composer.
$ composer install
-
Generate an
APP_KEY
.$ php artisan key:generate
-
Start the server.
$ php artisan serve
Visit the application's error route at http://localhost:8000/error. You'll soon get a message informing you of an error.
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.