To connect to Earthquake Streams data feed you need to use a pusher library such as https://github.com/pusher/pusher-js
Live Demo Code @ https://codepen.io/mapdev/pen/XaexdY
To connect you need
- Pusher Key: cb8e92ce5edfd617ee0a
<?php | |
//Don't forget to change the namespace! | |
namespace App\Traits; | |
use Cron\CronExpression; | |
use Illuminate\Support\Carbon; | |
use Illuminate\Console\Scheduling\ManagesFrequencies; | |
trait Schedulable{ |
To connect to Earthquake Streams data feed you need to use a pusher library such as https://github.com/pusher/pusher-js
Live Demo Code @ https://codepen.io/mapdev/pen/XaexdY
To connect you need