Download the PHP package janschuri/eloquent-ai-tools without Composer

On this page you can find all versions of the php package janschuri/eloquent-ai-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 eloquent-ai-tools

EloquentAiTools

Tests Latest Version

Turn Eloquent models into safe, structured AI tools with a small, drop-in layer that stays inside normal Eloquent conventions.

The Problem

Giving an AI agent access to your application data usually pushes you into one of two bad options:

EloquentAiTools takes a third path. Instead of introducing a parallel query system, it plugs into the Eloquent models, scopes, casts, and relations you already have. You describe what a model should expose, and the package builds a read-only query tool from that config plus the model schema Laravel already knows about.

No generated SQL. No hand-maintained JSON schema. No separate tool class per model.

Installation

Requirements

Quick Start

That exposes a read_articles tool. Its schema and description are generated from the Article config plus the active query resolvers, so the tool stays aligned with the model instead of becoming a second thing to maintain.

If you need a more specific or collision-resistant name, add a tool key:

That changes the tool name to read_cms_articles.

Out of the box, the tool supports:

Documentation

The long-form docs now live in /wiki and are intended to be mirrored to the GitHub wiki on pushes to master:

Changelog

Releases are tagged automatically from Conventional Commits — see GitHub Releases for what changed in each version.

License

MIT


All versions of eloquent-ai-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/contracts Version ^13.0
illuminate/database Version ^13.0
illuminate/json-schema Version ^13.16
illuminate/support Version ^13.0
laravel/ai Version ^0.10
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 janschuri/eloquent-ai-tools contains the following files

Loading the files please wait ...