定制 winter/wn-laravelboost-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱: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_plugin_list: Get detailed information about all installed plugins
  • winter_theme_info: Get active theme information and configuration
  • winter_component_list: List all registered components with their details
  • winter_system_info: Get Winter CMS version and system information
  • winter_backend_controllers: List backend controllers across all plugins

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 provider in classes/WinterMcpProvider.php
  • Language files in lang/ directory
  • Version tracking in updates/version.yaml

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

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