PHP code example of endorphin-studio / browser-detector-laravel
1. Go to this page and download the library: Download endorphin-studio/browser-detector-laravel 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/ */
endorphin-studio / browser-detector-laravel example snippets
use EndorphinStudio\Laravel\BrowserDetector\BrowserDetector;
/**
* @var BrowserDetector $detector
**/
$detector = app()->make(BrowserDetector::class);
echo '<pre>'.$detector.'</pre>';