Search by

veda-ai / laravel-client

neresson

Laravel SDK for Veda AI: HTTP client, embed sessions, and automatic host MCP server.

Package info

github.com/neresson/veda-laravel-client

pkg:composer/veda-ai/laravel-client

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-09-16 06:37 UTC

This package is auto-updated.

Last update: 2026-09-16 06:41:45 UTC


README

Laravel SDK for integrating your application with Veda AI without writing your own MCP server.

Install

composer require veda-ai/laravel-client

veda-ai/client is pulled in transitively.

Host integration

use Veda\LaravelClient\Facades\VedaClient;

VedaClient::host()->resolveToolsUsing(fn () => [
    new SearchOrdersTool,
]);

VedaClient::host()->authorizeUsing(function ($user) {
    return $user->is_active && $user->can('use-ai');
});

$session = VedaClient::host()->startSession($user);

The package automatically registers /mcp/veda (configurable) and mints Sanctum tokens for the sidecar.

License

MIT