PHP code example of dyned / beacon
1. Go to this page and download the library: Download dyned/beacon library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dyned / beacon example snippets
$app->register(DynEd\Beacon\BeaconServiceProvider::class);
use DynEd\Beacon\Facades\Beacon;
Beacon::report($e);
public function report(Exception $e)
{
Beacon::report($e);
parent::report($e);
}
cp vendor/dyned/beacon/config/beacon.php ./config/beacon.php