Skip to main content

Packages

Sanvex is split into Composer packages. Install only what you need.

sanvex/core

The foundation. Provides:
  • SanvexManager — register and resolve drivers
  • BaseDriver — base class all drivers extend
  • Encryption via KeyManager and EncryptionService
  • Database migrations (sv_* tables)
  • Webhook endpoint: POST /sanvex/webhook
  • Tenancy via SanvexManager::for($owner)
Requires PHP 8.2+ and Laravel 12 or 13.

sanvex/cli

Artisan commands for setup and scaffolding. Registers only when the app runs in console.

Driver packages

Each driver is a separate Composer package with its own service provider: Install only the drivers you use:
Custom drivers are registered in config/sanvex.php:

sanvex/mcp

Exposes Sanvex to MCP-compatible clients (IDE agents, Claude Desktop, etc.).
  • Stdio server: php artisan sanvex:mcp-stdio
  • Optional HTTP SSE when SANVEX_MCP_ENABLE_SERVER=true
See MCP integration.

sanvex/laravel-ai

Wraps Sanvex for Laravel AI agents. Provides SanvexAi with tool discovery and execution.
Requires laravel/ai ^0.6.0. See Laravel AI integration.

Typical install set

Minimal (one driver):
With agent tooling: