PHP code example of gomdimapps / laravel-mcp-pilot
1. Go to this page and download the library: Download gomdimapps/laravel-mcp-pilot 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/ */
gomdimapps / laravel-mcp-pilot example snippets
use GomdimApps\LaravelMCPPilot\Search\SearchService;
$index = app(SearchService::class);
$index->refresh();
$index->search('store thing');
use GomdimApps\LaravelMCPPilot\Database\DatabaseIntrospectionService;
$db = app(DatabaseIntrospectionService::class);
$db->listTables('pgsql', 'thing');
$db->describeTable('pgsql', 'things');