winter/wn-laravelboost-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

winter/wn-laravelboost-plugin

Composer 安装命令:

composer require winter/wn-laravelboost-plugin

包简介

Integrates Laravel Boost into Winter CMS; a MCP server for augmenting your AI powered local development experience.

README 文档

README

This plugin integrates Laravel Boost and Laravel MCP into Winter CMS, providing AI development tools with Winter CMS-specific context and capabilities.

Features

Winter CMS MCP Tools

This plugin provides several MCP (Model Context Protocol) tools specifically designed for Winter CMS development:

  • winter-project-overview: Get Winter CMS project overview: version, environment, theme, and plugin/component counts
  • winter-project-structure: Get complete project structure: plugins, components, and backend controllers
  • winter-scaffolding-commands: Guide to Winter CMS code generation commands
  • winter-view-structure: Map view files and understand Winter CMS dual view system (Twig frontend, PHP backend)
  • winter-development-guide: Architecture patterns, services, and best practices

Documentation Integration

The plugin registers Winter CMS documentation sources with Laravel Boost's search system, enabling AI tools to search Winter CMS documentation including:

  • General documentation
  • Markup/Twig documentation
  • UI documentation
  • API documentation

AI Guidelines Enhancement

Extends Laravel Boost's AI guidelines with Winter CMS-specific conventions:

  • Plugin architecture patterns
  • Component development best practices
  • Backend controller conventions
  • Model and migration patterns
  • Theme and Twig usage guidelines

Installation

  1. Install Laravel Boost and Laravel MCP packages:
composer require laravel/boost laravel/mcp
  1. The plugin will automatically register with Winter CMS once the dependencies are available.

Usage

Once installed, AI development tools that support MCP (like Claude Code) will have access to Winter CMS-specific context and can search Winter CMS documentation directly.

The plugin automatically:

  • Registers Winter CMS documentation sources
  • Provides MCP tools for inspecting the Winter CMS installation
  • Extends AI guidelines with Winter CMS conventions

Requirements

  • Winter CMS 1.3+
  • PHP 8.1+
  • Laravel Boost package
  • Laravel MCP package

AI Development Benefits

This plugin significantly improves AI-assisted development by:

  1. Contextual Awareness: AI tools understand Winter CMS structure and conventions
  2. Documentation Access: Direct search of Winter CMS documentation
  3. Project Inspection: Tools can analyze plugin structure, themes, and components
  4. Best Practices: AI follows Winter CMS conventions instead of generic Laravel patterns

Development

This plugin follows Winter CMS plugin conventions:

  • Main functionality in Plugin.php
  • MCP Tool classes in classes/Tools/ directory
  • Language files in lang/ directory
  • Version tracking in updates/version.yaml

统计信息

  • 总下载量: 98
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-30