visualbuilder/eloquent-schema
Adds MCP tools for Laravel Boost to introspect Eloquent models. Automatically discovers app and vendor models, extracts columns, relationships, and accessors, and serves complete model schemas with caching—helping AI assistants and dev tools generate accurate queries and code faster.
Schema::getColumnListing() may suffice).DB::select()) without Eloquent context.*"This package automates the discovery and exposure of our application’s data structure—a manual process that currently slows down development, increases onboarding time, and introduces risks during migrations. By integrating with AI tools (e.g., Copilot) and internal automation, we can:
*"This solves a critical pain point for teams building tools that interact with Eloquent models. Key advantages:
list-models, model-schema, and model-fields to AI assistants or custom CLI tools without writing boilerplate.ModelDiscoveryService programmatically.
Example: Our new ‘Query Builder’ feature could leverage model-fields to auto-suggest columns/relationships, cutting dev time by 50%."**"If you’ve ever:
php artisan schema:dump but smart: it understands relationships, accessors, and even enums. Just install, cache, and query via MCP or code.
Pro tip: Use php artisan eloquent-schema:cache after model changes to keep your AI tools in sync—no more stale schemas!"*How can I help you explore Laravel packages today?