1. Go to this page and download the library: Download silnik/browser 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/ */
silnik / browser example snippets
$result = new Silnik/Browser(getallheaders());
$result = new Silnik/Browser($_SERVER['HTTP_USER_AGENT']);
"You are using " . $result->toString();
// You are using Chrome 27 on OS X Mountain Lion 10.8