Download the PHP package visualbuilder/eloquent-schema without Composer

On this page you can find all versions of the php package visualbuilder/eloquent-schema. 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-schema

Eloquent Schema

run-tests

Adds new MCP tools to Laravel Boost for Eloquent model introspection. Designed for AI assistants and development tools that need to understand your application's data structure.

Provides complete model schemas, relationships and accessors so AI assistants can generate more accurate Eloquent queries and code without needing to read through multiple model files. This reduces token usage, speeds up responses, and eliminates guesswork about your database structure.

Features

Requirements

Installation

Publish the configuration file:

Configuration

MCP Tools

This package provides three MCP tools for AI assistants:

list-models

List all discoverable Eloquent models in the application.

Parameters:

Example Response:

Note: Combine namespace + model name for the full class (e.g., App\Models\User). Vendor models include their full namespace. The vendor_models key is only present when vendor models exist.

model-schema

Get the complete schema for an Eloquent model including columns, relationships, and accessors.

Parameters:

Example Response:

model-fields

Get a compact list of model columns and relationship names. Useful for building queries.

Parameters:

Example Response:

Artisan Commands

List Models

Discover Vendor Packages

Interactively discover and select vendor packages with Eloquent models:

Cache Management

Testing MCP Tools from CLI

Test the eloquent-schema MCP tools directly from the command line:

Generic MCP Tools Command

List and call any registered MCP tool (works with Laravel Boost and custom tools):

Vendor Model Discovery

To include models from vendor packages:

  1. Run the discovery command to find packages with models:

  2. Select the packages you want to include

  3. Add the suggested configuration to config/eloquent-schema.php:

  4. Warm the cache:

Deduplication

When your app extends a vendor model, the package intelligently prefers your app model:

Using with Laravel Boost

Add the tools to your config/boost.php:

Using with Custom MCP Server

If using a custom MCP server, register the tools in your server class:

Programmatic Usage

You can also use the services directly:

Caching

Caching improves performance when frequently querying model schemas:

Set cache TTL via environment variable:

Set to 0 to disable caching during active development.

License

MIT License. See LICENSE for details.


All versions of eloquent-schema with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/database Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.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 visualbuilder/eloquent-schema contains the following files

Loading the files please wait ...