skylence / ai-essentials
Meta-package with essential AI agent tooling for Laravel projects
Requires
- php: ^8.3
- laravel/ai: ^0.1.3 || ^0.3
Requires (Dev)
This package is auto-updated.
Last update: 2026-05-05 18:11:01 UTC
README
Meta-package with essential AI agent tooling for Laravel projects. One install, everything you need.
Installation
composer require skylence/ai-essentials
What's Included
| Package | What it does |
|---|---|
| laravel/ai | Laravel AI SDK — text generation, tool-calling agents, embeddings |
| laravel/boost | MCP server helping AI agents discover and interact with your Laravel app |
| nunomaduro/pao | Agent-optimized output for PHPUnit, Pest, Paratest, PHPStan |
| skylence/laravel-artisan-agent-output | Agent-optimized output for Laravel Artisan commands |
| skylence/laravel-model-inspector-mcp | MCP server for Eloquent model inspection |
| skylence/laravel-optimize-mcp | MCP server for Laravel optimization insights |
| skylence/laravel-telescope-mcp | MCP server for Laravel Telescope data |
Zero config. Install and all tools automatically optimize their output when an AI agent is detected.
MCP Server Setup
The MCP servers ship as dev dependencies — run composer install (not --no-dev) to get them.
Laravel Boost
Laravel Boost provides AI guidelines, skills, and an MCP server for your project.
Install the package:
composer require laravel/boost --dev
Run the installer (auto-detects Claude Code, Cursor, VS Code, PhpStorm):
php artisan boost:install
This configures AI guidelines, agent skills, and the MCP server in one step.
Manual MCP setup (if you skip the installer):
Add to .mcp.json in the project root:
{
"mcpServers": {
"boost": {
"command": "php",
"args": ["artisan", "boost:mcp"]
}
}
}
Model Inspector MCP
Gives AI assistants deep introspection into Eloquent models, relationships, and schema.
Install the package:
composer require skylence/laravel-model-inspector-mcp --dev
Run the installer (auto-detects your editor):
php artisan model-inspector:install
Manual MCP setup:
{
"mcpServers": {
"laravel-model-inspector-mcp": {
"command": "php",
"args": ["artisan", "model-inspector:mcp"]
}
}
}
Using Laravel Sail? Replace php with ./vendor/bin/sail.
Optimize MCP
Analyzes your Laravel config, structure, and database for performance and security insights.
Install the package:
composer require skylence/laravel-optimize-mcp --dev
Run the installer (auto-detects your editor, optionally configures HTTP access for staging/production):
php artisan optimize-mcp:install
Telescope MCP
Real-time monitoring, performance analysis, and debugging through Laravel Telescope.
Requires Laravel Telescope to be installed first.
Install the package:
composer require skylence/laravel-telescope-mcp --dev
Run the installer (auto-detects your editor, optionally configures HTTP access):
php artisan telescope-mcp:install
Manual MCP setup (add to .mcp.json):
{
"mcpServers": {
"telescope": {
"type": "stdio",
"command": "php",
"args": ["artisan", "mcp:start", "telescope"]
}
}
}
Restart your editor/AI tool after updating .mcp.json.
License
MIT