PHP code example of marcuspi / crawler-user-agents

1. Go to this page and download the library: Download marcuspi/crawler-user-agents 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/ */

    

marcuspi / crawler-user-agents example snippets


bool marcuspi\Crawlers::isCrawler([string $http_user_agent])