laravel-plugin-discovery
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLaravel Plugin Discovery
Laravel插件查找
Find, evaluate, and choose healthy Laravel packages using the LaraPlugins.io MCP server.
使用LaraPlugins.io MCP服务器查找、评估并选择健康的Laravel包。
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
- 用户想要查找实现特定功能(例如"auth"、"权限"、"管理面板")的Laravel包
- 用户询问"我应该用什么包来实现…"或者"有没有能实现…的Laravel包"
- 用户想要检查某个包是否还在积极维护
- 用户需要验证Laravel版本兼容性
- 用户想要在将包加入项目前评估其健康度
MCP Requirement
MCP要求
LaraPlugins MCP server must be configured. Add to your mcpServers:
~/.claude.jsonjson
"laraplugins": {
"type": "http",
"url": "https://laraplugins.io/mcp/plugins"
}No API key required — the server is free for the Laravel community.
必须配置LaraPlugins MCP服务器。将以下内容添加到你的的mcpServers配置中:
~/.claude.jsonjson
"laraplugins": {
"type": "http",
"url": "https://laraplugins.io/mcp/plugins"
}无需API密钥——该服务器对Laravel社区免费开放。
MCP Tools
MCP工具
The LaraPlugins MCP provides two primary tools:
LaraPlugins MCP提供两个核心工具:
SearchPluginTool
SearchPluginTool
Search packages by keyword, health score, vendor, and version compatibility.
Parameters:
- (string, optional): Keyword to search (e.g. "permission", "admin", "api")
text_search - (string, optional): Filter by health band —
health_score,Healthy,Medium, orUnhealthyUnrated - (string, optional): Filter by Laravel version —
laravel_compatibility,"5","6","7","8","9","10","11","12""13" - (string, optional): Filter by PHP version —
php_compatibility,"7.4","8.0","8.1","8.2","8.3","8.4""8.5" - (string, optional): Filter by vendor name (e.g. "spatie", "laravel")
vendor_filter - (number, optional): Page number for pagination
page
按关键词、健康评分、供应商和版本兼容性搜索包。
参数:
- (字符串,可选):要搜索的关键词(例如"permission"、"admin"、"api")
text_search - (字符串,可选):按健康等级筛选——
health_score、Healthy、Medium或UnhealthyUnrated - (字符串,可选):按Laravel版本筛选——
laravel_compatibility、"5"、"6"、"7"、"8"、"9"、"10"、"11"、"12""13" - (字符串,可选):按PHP版本筛选——
php_compatibility、"7.4"、"8.0"、"8.1"、"8.2"、"8.3"、"8.4""8.5" - (字符串,可选):按供应商名称筛选(例如"spatie"、"laravel")
vendor_filter - (数字,可选):分页页码
page
GetPluginDetailsTool
GetPluginDetailsTool
Fetch detailed metrics, readme content, and version history for a specific package.
Parameters:
- (string, required): Full Composer package name (e.g. "spatie/laravel-permission")
package - (boolean, optional): Include version history in response
include_versions
获取特定包的详细指标、README内容和版本历史。
参数:
- (字符串,必填):完整的Composer包名(例如"spatie/laravel-permission")
package - (布尔值,可选):是否在响应中包含版本历史
include_versions
How It Works
使用流程
Finding Packages
查找包
When the user wants to discover packages for a feature:
- Use with relevant keywords
SearchPluginTool - Apply filters for health score, Laravel version, or PHP version
- Review the results with package names, descriptions, and health indicators
当用户想要查找实现某类功能的包时:
- 搭配相关关键词调用
SearchPluginTool - 按健康评分、Laravel版本或PHP版本添加筛选条件
- 查看返回结果中的包名、描述和健康标识
Evaluating Packages
评估包
When the user wants to assess a specific package:
- Use with the package name
GetPluginDetailsTool - Review health score, last updated date, Laravel version support
- Check vendor reputation and risk indicators
当用户想要评估某个特定包时:
- 传入包名调用
GetPluginDetailsTool - 查看健康评分、最后更新日期、Laravel版本支持情况
- 检查供应商信誉和风险标识
Checking Compatibility
检查兼容性
When the user needs Laravel or PHP version compatibility:
- Search with filter set to their version
laravel_compatibility - Or get details on a specific package to see its supported versions
当用户需要确认Laravel或PHP版本兼容性时:
- 搜索时将筛选条件设置为对应版本
laravel_compatibility - 或者获取特定包的详情,查看其支持的版本范围
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.
SearchPluginTool({
text_search: "authentication",
health_score: "Healthy"
})返回健康状态为Healthy、匹配"authentication"关键词的包:
- spatie/laravel-permission
- laravel/breeze
- laravel/passport
- 等等
Example: Find Laravel 12 Compatible Packages
示例:查找兼容Laravel 12的包
SearchPluginTool({
text_search: "admin panel",
laravel_compatibility: "12"
})Returns packages compatible with Laravel 12.
SearchPluginTool({
text_search: "admin panel",
laravel_compatibility: "12"
})返回兼容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
GetPluginDetailsTool({
package: "spatie/laravel-permission",
include_versions: true
})返回:
- 健康评分和最近活动时间
- Laravel/PHP版本支持情况
- 供应商信誉(风险评分)
- 版本历史
- 简要描述
Example: Find Packages by Vendor
示例:按供应商查找包
SearchPluginTool({
vendor_filter: "spatie",
health_score: "Healthy"
})Returns all healthy packages from vendor "spatie".
SearchPluginTool({
vendor_filter: "spatie",
health_score: "Healthy"
})返回供应商"spatie"发布的所有健康状态的包。
Filtering Best Practices
筛选最佳实践
By Health Score
按健康评分筛选
| Health Band | Meaning |
|---|---|
| Active maintenance, recent updates |
| Occasional updates, may need attention |
| Abandoned or infrequently maintained |
| Not yet assessed |
Recommendation: Prefer packages for production applications.
Healthy| 健康等级 | 含义 |
|---|---|
| 活跃维护,近期有更新 |
| 偶尔更新,可能需要注意 |
| 已废弃或者维护频率极低 |
| 尚未评估 |
建议:生产应用优先选择等级的包。
HealthyBy Laravel Version
按Laravel版本筛选
| Version | Notes |
|---|---|
| Latest Laravel |
| Current stable |
| Still widely used |
| Legacy but common |
| Deprecated |
Recommendation: Match the target project's Laravel version.
| 版本 | 说明 |
|---|---|
| 最新版Laravel |
| 当前稳定版 |
| 仍被广泛使用 |
| legacy版本但使用广泛 |
| 已弃用 |
建议:匹配目标项目的Laravel版本。
Combining Filters
组合筛选
typescript
// Find healthy, Laravel 12 compatible packages for permissions
SearchPluginTool({
text_search: "permission",
health_score: "Healthy",
laravel_compatibility: "12"
})typescript
// 查找兼容Laravel 12的健康的权限相关包
SearchPluginTool({
text_search: "permission",
health_score: "Healthy",
laravel_compatibility: "12"
})Response Interpretation
响应解读
Search Results
搜索结果
Each result includes:
- Package name (e.g. )
spatie/laravel-permission - Brief description
- Health status indicator
- Laravel version support badges
每条结果包含:
- 包名(例如)
spatie/laravel-permission - 简要描述
- 健康状态标识
- Laravel版本支持徽章
Package Details
包详情
The detailed response includes:
- Health Score: Numeric or band indicator
- Last Activity: When the package was last updated
- Laravel Support: Version compatibility matrix
- PHP Support: PHP version compatibility
- Risk Score: Vendor trust indicators
- Version History: Recent release timeline
详情响应包含:
- 健康评分:数值或等级标识
- 最近活动:包的最后更新时间
- Laravel支持:版本兼容性矩阵
- PHP支持:PHP版本兼容性
- 风险评分:供应商信任标识
- 版本历史:近期发布时间线
Common Use Cases
常见使用场景
| Scenario | Recommended Approach |
|---|---|
| "What package for auth?" | Search "auth" with healthy filter |
| "Is spatie/package still maintained?" | Get details, check health score |
| "Need Laravel 12 packages" | Search with laravel_compatibility: "12" |
| "Find admin panel packages" | Search "admin panel", review results |
| "Check vendor reputation" | Search by vendor, check details |
| 场景 | 推荐处理方式 |
|---|---|
| "用什么包实现认证?" | 搜索"auth"并添加健康度筛选 |
| "spatie的这个包还在维护吗?" | 获取包详情,检查健康评分 |
| "需要兼容Laravel 12的包" | 搜索时设置laravel_compatibility: "12" |
| "查找管理面板相关包" | 搜索"admin panel",查看返回结果 |
| "检查供应商信誉" | 按供应商搜索,查看包详情 |
Best Practices
最佳实践
- Always filter by health — Use for production projects
health_score: "Healthy" - Match Laravel version — Always check matches the target project
laravel_compatibility - Check vendor reputation — Prefer packages from known vendors (spatie, laravel, etc.)
- Review before recommending — Use GetPluginDetailsTool for a comprehensive assessment
- No API key needed — The MCP is free, no authentication required
- 始终按健康度筛选——生产项目使用的包
health_score: "Healthy" - 匹配Laravel版本——始终检查是否匹配目标项目
laravel_compatibility - 检查供应商信誉——优先选择知名供应商(spatie、laravel等)发布的包
- 推荐前先核查——使用GetPluginDetailsTool进行全面评估
- 无需API密钥——该MCP完全免费,无需身份验证
Related Skills
相关技能
- — Laravel architecture and patterns
laravel-patterns - — Test-driven development for Laravel
laravel-tdd - — Laravel security best practices
laravel-security - — General library documentation lookup (Context7)
documentation-lookup
- —— Laravel架构与设计模式
laravel-patterns - —— Laravel测试驱动开发
laravel-tdd - —— Laravel安全最佳实践
laravel-security - —— 通用类库文档查询(Context7)
documentation-lookup