PHP code example of bleckert / laravel-logsnag
1. Go to this page and download the library: Download bleckert/laravel-logsnag 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/ */
bleckert / laravel-logsnag example snippets
use Bleckert\LaravelLogsnag\Logsnag;
Logsnag::channel('registrations')->log(
event: 'User registered',
icon: '🎉',
tags: ['user_id' => 1],
);