PHP code example of cryptoweb / infoflot-laravel
1. Go to this page and download the library: Download cryptoweb/infoflot-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/ */
cryptoweb / infoflot-laravel example snippets
return [
...
'api_key' => 'insert-api-key-here',
...
];
$riverCruises = infoflot()->cruises()->type('river')->get();
use CryptoWeb\Infoflot\Facades\Infoflot;
// or Alias
use Infoflot;
$riverCruises = Infoflot::cruises()->type('river')->get();
/// etc...
bash
php artisan vendor:publish --tag=infoflot-config