Download the PHP package veda-ai/laravel-client without Composer

On this page you can find all versions of the php package veda-ai/laravel-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-client

sveda-laravel-sdk

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

Docs: sveda.dev/docs/hosts/laravel

Packagist: sveda-ai/laravel-sdk

Install

sveda-ai/php-sdk is pulled in transitively. The service provider is auto-discovered.

Minimal .env:

How it fits together

The package registers both endpoints for you:

Define a tool

mode() is metadata: read is annotated read-only, delete destructive, everything else a non-destructive write. domain() groups tools in the UI.

Register tools and access rules

In a service provider:

Render the chat

The component posts to route('sveda.session') and renders the iframe. Override the endpoints when needed:

Configuration

Key Default Purpose
base_url — Sidecar URL (SVEDA_CLIENT_BASE_URL)
host_api_key — Host key the sidecar expects (SVEDA_CLIENT_HOST_API_KEY)
mcp.path /mcp/sveda MCP endpoint path
mcp.server_name / mcp.server_version Host Application / 0.1.0 Reported in MCP initialize
mcp.instructions generic text Server instructions sent to the model with your tool list
mcp.ability sveda:mcp Sanctum ability required on MCP tokens
mcp.token_ttl_seconds 3600 MCP token lifetime
mcp.throttle 120,1 Rate limit for the MCP endpoint
session.enabled true Set false to register your own session route
session.path / session.name /sveda/session / sveda.session Session endpoint
session.middleware ['web', 'auth'] Use ['auth:sanctum'] for token-based APIs
session.visitor_prefix host Default visitor id prefix

Agent introspection

Dump registered host tools as JSON (sveda.host/v1) — the same tool payloads MCP exposes via tools/list:

Schema id: sveda.host/v1 (fields: sdk, subject, hooks, tools with MCP inputSchema and _meta).

With your app running and an authenticated session, playground apps also expose GET /sveda/tools for the current user.

Troubleshooting

License

Apache License 2.0. See LICENSE.


All versions of laravel-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/contracts Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
laravel/mcp Version ^0.8.2
laravel/sanctum Version ^4.0
sveda-ai/php-sdk Version ^0.4 || dev-main
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package veda-ai/laravel-client contains the following files

Loading the files please wait ...