PHP code example of dragon-code / laravel-http-user-agent

1. Go to this page and download the library: Download dragon-code/laravel-http-user-agent 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/ */

    

dragon-code / laravel-http-user-agent example snippets

bash
php artisan vendor:publish --provider="DragonCode\LaravelHttpUserAgent\ServiceProvider"
ini
APP_USER_AGENT_ENABLED = false