Download the PHP package datashaman/laravel-agent-tools without Composer

On this page you can find all versions of the php package datashaman/laravel-agent-tools. 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-agent-tools

Laravel Agent Tools

Claude Code-equivalent tools for laravel/ai agents. Filesystem, shell, task management, and tool discovery.

Requirements

Installation

The service provider is auto-discovered. To publish the config:

For the database task store, publish and run the migration:

Tools

Filesystem

Tool Description
ReadFile Read file contents with line numbers, offset/limit, binary detection
WriteFile Create or overwrite files with automatic parent directory creation
EditFile Exact string replacement with uniqueness validation and fuzzy-match error suggestions
GlobFiles Find files by glob pattern, sorted by modification time
GrepFiles Search file contents with regex, multiple output modes, context lines, filtering

Execution

Tool Description
RunCommand Execute shell commands with sync, async, or queued modes. Supports timeout, idle timeout, and command allow/deny lists

Task Management

Tool Description
TaskCreate Create a new task
TaskGet Retrieve task details by ID
TaskList List tasks with optional status filtering
TaskOutput Get output from a background task
TaskStop Kill a running background task
TaskUpdate Update task properties or delete a task
TodoWrite Batch-manage the full task list (sugar over individual task tools)

Meta

Tool Description
ToolSearch Discover and load deferred tools from a ToolRegistry

Usage

All tools implement Laravel\Ai\Contracts\Tool and work with any laravel/ai agent:

Task Management

Tool Discovery

Start with a minimal tool set and let the agent discover more at runtime:

Background Commands

Configuration

All tools are configured via constructor parameters. No global config required.

The config/laravel-agent.php file provides defaults for the service provider bindings:

Key Default Description
task_store memory Task store driver: memory, cache, database
executor async RunCommand background executor: sync, async, queued
cache.store null Cache store for CacheTaskStore
cache.prefix laravel-agent:tasks: Cache key prefix
cache.ttl 3600 Cache TTL in seconds
database.connection null Database connection for DatabaseTaskStore
database.table agent_tasks Table name for DatabaseTaskStore

Sandboxing

All filesystem and execution tools accept a basePath parameter that restricts operations to that directory. Paths outside basePath are rejected.

RunCommand additionally supports allow and deny glob patterns for command filtering. Deny takes precedence over allow.

Custom Descriptions

Every tool ships with Claude Code-quality descriptions that guide LLM behavior. Override them per-instance:

Testing

Or directly:

License

MIT


All versions of laravel-agent-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
laravel/ai Version ^0.3
illuminate/contracts Version ^12.0|^13.0
illuminate/filesystem Version ^12.0|^13.0
illuminate/process Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
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 datashaman/laravel-agent-tools contains the following files

Loading the files please wait ...