1. Go to this page and download the library: Download shipfastlabs/toolkit-tavily 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/ */
shipfastlabs / toolkit-tavily example snippets
use Shipfastlabs\Toolkit\Tavily\Tavily;
$tools = Tavily::all(); // Collection<int, Tool>
use Shipfastlabs\Toolkit\Tavily\TavilySearch;
use Shipfastlabs\Toolkit\Tavily\TavilyExtract;
use Shipfastlabs\Toolkit\Tavily\TavilyCrawl;
use Shipfastlabs\Toolkit\Tavily\TavilyMap;
$tools = [
new TavilySearch,
new TavilyExtract,
new TavilyCrawl,
new TavilyMap,
];