Communitygithub.com

Laravel 套件探索

透過 LaraPlugins.io MCP 發現並評估 Laravel 套件。當使用者想要尋找外掛、檢查套件健康狀況或評估 Laravel/PHP 相容性時使用。

Laravel 套件探索 是什麼?

這項技能讓 AI 代理能夠透過 LaraPlugins.io MCP 伺服器直接搜尋和評估 Laravel 套件,從而協助開發者做出明智的依賴選擇。它可與 Claude Code、Cursor、Codex 等支援 MCP 的代理無縫整合,無需 API 金鑰即可使用。該技能提供了兩個核心工具:SearchPluginTool 允許依關鍵字、健康評分、供應商名稱以及 Laravel/PHP 版本相容性搜尋套件,而 GetPluginDetailsTool 則提供詳細的指標,包括健康狀況、上次更新日期和版本歷史。透過系統性地評估套件健康狀況(健康、中等、不健康、未評級)和版本相容性,此技能有助於防止在生產專案中整合已棄用或維護不良的套件,從而節省開發者的時間並降低技術風險。

相容平台✓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 套件。

使用時機

  • 使用者想為特定功能尋找 Laravel 套件(例如「auth」、「permissions」、「admin panel」)
  • 使用者詢問「我應該使用哪個套件來...」或「是否有用於...的 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.

相關技能