taylorotwell / nexmo-horizon-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Horizon + Nexmo Demo

Configuration

  • Configure your Nexmo credentials and phone number in config/services.php.
  • Configure your personal phone number in the AppServiceProvider.

Running The Application

Start Horizon using the horizon Artisan command:

php artisan horizon

Dispatch 10 slow jobs onto the queue by accessing the /queue route in your browser:

http://localhost/queue/10

Instruct Horizon to take a snapshot of the current metrics:

php artisan snapshot

Dispatch 500 slow jobs onto the queue to trigger the notification based on queue wait time:

http://localhost/queue/500

About


Languages

Language:PHP 96.2%Language:HTML 3.2%Language:Vue 0.6%