PHP code example of sevenlab / laravel-remote-logging

1. Go to this page and download the library: Download sevenlab/laravel-remote-logging 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/ */

    

sevenlab / laravel-remote-logging example snippets


...

if (app()->bound('remote-logging')) {
    app('remote-logging')->captureException($exception);
}

...
bash
php artisan vendor:publish --provider="SevenLab\RemoteLogging\RemoteLoggingServiceProvider"