PHP code example of always-open / oxylabs-api

1. Go to this page and download the library: Download always-open/oxylabs-api 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/ */

    

always-open / oxylabs-api example snippets


return [
];

$oxylabsApi = new AlwaysOpen\OxylabsApi();
echo $oxylabsApi->echoPhrase('Hello, AlwaysOpen!');
bash
php artisan vendor:publish --tag="oxylabs-api-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="oxylabs-api-config"
bash
php artisan vendor:publish --tag="oxylabs-api-views"