跳到正文
Skillpedia
API 与服务器(后端)280k · #349

laravel-plugin-discovery

它能做什么

这个代理可以帮你查找和评估 Laravel 框架的扩展包(即小型附加程序)。它会检查这些扩展包是否维护良好、是否保持最新,以及是否与你项目使用的版本兼容。

适用场景

  • ✓当你需要某个特定功能的扩展包时(例如“登录”“支付”)。
  • ✓想确认某个扩展包是否维护良好、是否有更新时。
  • ✓想知道某个扩展包能否与你的 Laravel 或 PHP 版本配合使用时。

技能链接

https://github.com/affaan-m/ECC/blob/main/skills/laravel-plugin-discovery/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/affaan-m/ECC/blob/main/skills/laravel-plugin-discovery/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我找几个适用于 Laravel 11、状态良好的身份验证扩展包。”

每周 5 个新技能,1 分钟读完。

工作原理

它会借助在线服务 LaraPlugins.io 来搜索扩展包的信息。你可以让它按名称搜索扩展包、检查它们的健康状况,或者查看它们兼容哪些 Laravel 和 PHP 版本。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Laravel Plugin Discovery

Find, evaluate, and choose healthy Laravel packages using the LaraPlugins.io MCP server.

When to Use

  • User wants to find Laravel packages for a specific feature (e.g. "auth", "permissions", "admin panel")
  • User asks "what package should I use for..." or "is there a Laravel package for..."
  • User wants to check if a package is actively maintained
  • User needs to verify Laravel version compatibility
  • User wants to assess package health before adding to a project

MCP Requirement

LaraPlugins MCP server must be configured. Add to your ~/.claude.json mcpServers:

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

No API key required — the server is free for the Laravel community.

MCP Tools

The LaraPlugins MCP provides two primary tools:

SearchPluginTool

Search packages by keyword, health score, vendor, and version compatibility.

Parameters:

  • text_search (string, optional): Keyword to search (e.g. "permission", "admin", "api")
  • health_score (string, optional): Filter by health band — Healthy, Medium, Unhealthy, or Unrated
  • laravel_compatibility (string, optional): Filter by Laravel version — "5", "6", "7", "8", "9", "10", "11", "12", "13"
  • php_compatibility (string, optional): Filter by PHP version — "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5"
  • vendor_filter (string, optional): Filter by vendor name (e.g. "spatie", "laravel")
  • page (number, optional): Page number for pagination

GetPluginDetailsTool

Fetch detailed metrics, readme content, and version history for a specific package.

Parameters:

  • package (string, required): Full Composer package name (e.g. "spatie/laravel-permission")
  • include_versions (boolean, optional): Include version history in response

How It Works

Finding Packages

When the user wants to discover packages for a feature:

  1. Use SearchPluginTool with relevant keywords
  2. Apply filters for health score, Laravel version, or PHP version
  3. Review the results with package names, descriptions, and health indicators

Evaluating Packages

When the user wants to assess a specific package:

  1. Use GetPluginDetailsTool with the package name
  2. Review health score, last updated date, Laravel version support
  3. Check vendor reputation and risk indicators

Checking Compatibility

When the user needs Laravel or PHP version compatibility:

  1. Search with laravel_compatibility filter set to their version
  2. Or get details on a specific package to see its supported versions

Examples

Example: Find Authentication Packages

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

Returns packages matching "authentication" with healthy status:

  • spatie/laravel-permission
  • laravel/breeze
  • laravel/passport
  • etc.

Example: Find Laravel 12 Compatible Packages

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

Returns packages compatible with Laravel 12.

Example: Get Package Details

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

Returns:

  • Health score and last activity
  • Laravel/PHP version support
  • Vendor reputation (risk score)
  • Version history
  • Brief description

Example: Find Packages by Vendor

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

Returns all healthy packages from vendor "spatie".


Filtering Best Practices

By Health Score

Health Band Meaning
Healthy Active maintenance, recent updates
Medium Occasional updates, may need attention
Unhealthy Abandoned or infrequently maintained
Unrated Not yet assessed

Recommendation: Prefer Healthy packages for production applications.

By Laravel Version

Version Notes
13 Latest Laravel
12 Current stable
11 Still widely used
10 Legacy but common
5-9 Deprecated

Recommendation: Match the target project's Laravel version.

Combining Filters

// Find healthy, Laravel 12 compatible packages for permissions
SearchPluginTool({
  text_search: "permission",
  health_score: "Healthy",
  laravel_compatibility: "12"
})

Response Interpretation

Search Results

Each result includes:

…

常见问题

扩展包的“健康”是什么意思?

“健康”的扩展包是指仍在积极维护、近期有更新、并且没有已知问题的扩展包。

使用它需要账号或密钥吗?

不需要。LaraPlugins.io 服务是免费的,不需要任何密钥或账号。

我怎么判断一个扩展包是否安全可用?

你可以查看它的“健康评分”和最近一次更新的日期。健康且近期有更新的扩展包通常更可靠。

详情

作者的原始描述

Discover and evaluate Laravel packages via LaraPlugins.io MCP. Use when the user wants to find plugins, check package health, or assess Laravel/PHP compatibility.

repo: affaan-m/ECC

热度

GitHub 星标
280k
排名
#349
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能