Communitygithub.com

Laravel 插件发现

通过 LaraPlugins.io MCP 服务器发现和评估 Laravel 软件包。当用户想要查找插件、检查软件包健康状况或评估 Laravel/PHP 兼容性时使用。

Laravel 插件发现 是什么?

该技能利用 LaraPlugins.io MCP 服务器帮助用户发现、评估和选择合适的 Laravel 软件包。它提供两个核心工具:SearchPluginTool 允许通过关键字、健康状况评分、供应商和 Laravel/PHP 版本兼容性进行搜索,而 GetPluginDetailsTool 则可获取详细的包指标、README 内容和版本历史。该技能特别适用于查找特定功能的 Laravel 包(如认证、权限、管理面板)、检查包是否积极维护、验证 Laravel 版本兼容性,以及评估包健康度后再将其添加到项目中。建议在生产环境中优先选择“健康”(Healthy)状态的包,并确保所选包与目标项目的 Laravel 版本匹配。该 MCP 服务器免费且无需 API 密钥,为 Laravel 社区提供便捷的开源包发现服务。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/laravel-plugin-discovery

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Laravel 插件发现 是做什么的?

使用 LaraPlugins.io MCP 服务器查找、评估并选择健康的 Laravel 包。

使用场景

  • 用户希望找到适用于特定功能(例如“auth”、“permissions”、“admin panel”)的 Laravel 包。
  • 用户询问“我应该用什么包来实现...”或“有没有 Laravel 包可以...”。
  • 用户想检查某个包是否仍在积极维护。
  • 用户需要验证 Laravel 版本兼容性。
  • 用户希望在将包添加到项目前评估其健康度。

MCP 要求

必须配置 LaraPlugins MCP 服务器。将其添加到你的 ~/.claude.json mcpServers 中:

"laraplugins": {
  "type": "http",
  "url": "https://laraplugins.io/mcp/plugins"
}

无需 API 密钥——该服务器对 Laravel 社区免费开放。

MCP 工具

LaraPlugins MCP 提供两个主要工具:

SearchPluginTool

通过关键词、健康评分、供应商和版本兼容性搜索包。

参数:

  • text_search(字符串,可选):搜索关键词(例如“permission”、“admin”、“api”)
  • health_score(字符串,可选):按健康等级过滤——Healthy、Medium、Unhealthy 或 Unrated
  • laravel_compatibility(字符串,可选):按 Laravel 版本过滤——"5"、"6"、"7"、"8"、"9"、"10"、"11"、"12"、"13"
  • php_compatibility(字符串,可选):按 PHP 版本过滤——"7.4"、"8.0"、"8.1"、"8.2"、"8.3"、"8.4"、"8.5"
  • vendor_filter(字符串,可选):按供应商名称过滤(例如“spatie”、“laravel”)
  • page(数字,可选):分页页码

GetPluginDetailsTool

获取具体包的详细指标、README 内容和版本历史。

参数:

  • package(字符串,必需):完整的 Composer 包名(例如“spatie/laravel-permission”)
  • include_versions(布尔值,可选):是否在响应中包含版本历史

工作方式

查找包

当用户想发现某个功能的包时:

  1. 使用 SearchPluginTool 并传入相关关键词
  2. 应用健康评分、Laravel 版本或 PHP 版本的过滤条件
  3. 查看包含包名、描述和健康指标的结果

评估包

当用户想评估某个特定包时:

  1. 使用 GetPluginDetailsTool 并传入包名
  2. 查看健康评分、最后更新日期、Laravel 版本支持情况
  3. 检查供应商声誉和风险指标

检查兼容性

当用户需要 Laravel 或 PHP 版本兼容性信息时:

  1. 使用 laravel_compatibility 过滤条件设置目标版本进行搜索
  2. 或者获取某个包的详细信息以查看其支持的版本

示例

示例:查找身份验证包

SearchPluginTool({
  text_search: "authentication",
  health_score: "Healthy"
})

返回匹配“authentication”且状态为健康的包:

  • spatie/laravel-permission
  • laravel/breeze
  • laravel/passport
  • 等等

示例:查找兼容 Laravel 12 的包

SearchPluginTool({
  text_search: "admin panel",
  laravel_compatibility: "12"
})

返回兼容 Laravel 12 的包。

示例:获取包详情

GetPluginDetailsTool({
  package: "spatie/laravel-permission",
  include_versions: true
})

返回:

  • 健康评分和最近活动
  • Laravel/PHP 版本支持
  • 供应商声誉(风险评分)
  • 版本历史
  • 简要描述

示例:按供应商查找包

SearchPluginTool({
  vendor_filter: "spatie",
  health_score: "Healthy"
})

返回供应商“spatie”下所有健康的包。


过滤最佳实践

按健康评分

健康等级含义
Healthy主动维护,近期有更新
Medium偶尔更新,可能需要关注
Unhealthy已废弃或维护频率极低
Unrated尚未评估

建议:生产环境中优先选择 Healthy 包。

按 Laravel 版本

版本说明
13最新 Laravel
12当前稳定版
11仍被广泛使用
10旧版但常见
5-9已弃用

建议:匹配目标项目的 Laravel 版本。

组合过滤

// 查找健康且兼容 Laravel 12 的权限相关包
SearchPluginTool({
  text_search: "permission",
  health_score: "Healthy",
  laravel_compatibility: "12"
})

响应解读

搜索结果

每个结果包含:

  • 包名(例如 spatie/laravel-permission)
  • 简要描述
  • 健康状态指示器
  • Laravel 版本支持徽章

包详情

详细响应包括:

  • 健康评分:数值或等级指示器
  • 最近活动:包的最后更新时间
  • Laravel 支持:版本兼容性矩阵
  • PHP 支持:PHP 版本兼容性
  • 风险评分:供应商信任指标
  • 版本历史:近期发布时间线

常见用例

场景推荐方法
“有没有用于认证的包?”搜索“auth”并添加健康过滤
“spatie/package 还在维护吗?”获取详情,检查健康评分
“需要 Laravel 12 的包”使用 laravel_compatibility: "12" 搜索
“查找管理面板包”搜索“admin panel”,查看结果
“检查供应商声誉”按供应商搜索,查看详情

最佳实践

  1. 始终按健康度过滤 —— 生产项目使用 health_score: "Healthy"
  2. 匹配 Laravel 版本 —— 始终检查 laravel_compatibility 是否与目标项目一致
  3. 检查供应商声誉 —— 优先选择知名供应商(spatie、laravel 等)的包
  4. 推荐前仔细评估 —— 使用 GetPluginDetailsTool 进行全面评估
  5. 无需 API 密钥 —— MCP 免费使用,无需认证

相关技能

  • laravel-patterns —— Laravel 架构与模式
  • laravel-tdd —— Laravel 测试驱动开发
  • laravel-security —— Laravel 安全最佳实践
  • documentation-lookup —— 通用库文档查询(Context7)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

相关技能