Download the PHP package blockshiftnetwork/composio-laravel without Composer
On this page you can find all versions of the php package blockshiftnetwork/composio-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download blockshiftnetwork/composio-laravel
More information about blockshiftnetwork/composio-laravel
Files in blockshiftnetwork/composio-laravel
Package composio-laravel
Short Description Laravel integration for Composio with PrismPHP and Laravel AI tool support
License MIT
Informations about the package composio-laravel
Composio Laravel
Laravel integration for Composio PHP v1 with first-class PrismPHP and Laravel AI tool support.
This package follows the current Composio TypeScript shape where possible:
Composio::create($userId, $config)creates a Tool Router session.Composio::use($sessionId)resumes a Tool Router session.Composio::tools($userId)exposes direct tools for PrismPHP or Laravel AI.- Connected accounts, auth configs, toolkits, triggers, MCP and files remain available through dedicated managers.
Legacy toolSet() and entityId APIs are intentionally not part of the v1 surface.
Installation
PrismPHP and Laravel AI are optional. Install only the adapter you use:
Create A Tool Router Session
The config builder accepts TypeScript-style keys and sends the v1 Tool Router payload (user_id, toolkits, tools, auth_configs, connected_accounts, manage_connections, workbench, preload, multi_account).
Use Session Tools With PrismPHP
Use Session Tools With Laravel AI
Both provider adapters execute through the session router, so tool calls respect the session configuration and connection management.
Authorize A Toolkit
Direct Tools
Use direct tools when you already know the user or connected account and do not need a Tool Router session.
Laravel AI direct tools:
Direct Tools Preset
For a TypeScript-compatible direct-tools session:
This sets:
search.enable = falseexecute.enable_multi_execute = false
Custom Tools
Custom PHP tools are exposed alongside direct Composio tools.
Hooks
Managers
SDK Coverage Notes
The package uses blockshiftnetwork/composio-php v1 as the transport layer. Tool Router create, resume, toolkit listing, toolkit authorization and session execution are implemented directly. Methods that exist in the TypeScript SDK but are not generated by the PHP SDK yet, such as session search/update/proxy execution, throw an explicit ComposioException instead of silently doing the wrong thing.
All versions of composio-laravel with dependencies
blockshiftnetwork/composio-php Version ^1.0
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^12.0|^13.0