承接 leeovery/claude-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

leeovery/claude-laravel

最新稳定版本:v1.0.13

Composer 安装命令:

composer require leeovery/claude-laravel

包简介

Laravel architecture skills and commands for Claude Code

README 文档

README

Opinionated Laravel Skills & Commands for Claude Code

What is this?SkillsInstallationContributing

What is this?

A curated collection of Laravel development patterns and practices I've refined over 20 years in the industry and 10+ years working with Laravel.

These are opinionated. They represent how I build Laravel applications—action-oriented architecture, strict typing, DTOs everywhere, and a relentless focus on maintainability. They won't be for everyone, and that's okay.

This is a work in progress. As I use these skills in real projects, I'm continuously refining them to better represent how I actually work. Expect updates as patterns evolve and edge cases reveal themselves.

Model compatibility: These skills have been developed and refined for Claude Code running on Opus 4.5. Different models may exhibit different edge cases, and future model releases may require adjustments to the prompts and workflows.

Quick Install

Marketplace (cached globally):

/plugin marketplace add leeovery/claude-plugins-marketplace
/plugin install claude-laravel@claude-plugins-marketplace

npm (copied to your repo):

npm install -D @leeovery/claude-laravel

See Installation for details and trade-offs.

Installation

Method Where files live Best for
Marketplace ~/.claude/plugins/ (global cache) Quick setup, don't need files in repo
npm .claude/ in your project Ownership, version control, Claude Code for Web

Option 1: Claude Marketplace

/plugin marketplace add leeovery/claude-plugins-marketplace
/plugin install claude-laravel@claude-plugins-marketplace

Skills are cached globally. They won't be available in Claude Code for Web since files aren't in your repository.

Option 2: npm

npm install -D @leeovery/claude-laravel

Skills are copied to .claude/ and can be committed—giving you ownership and making them available everywhere including Claude Code for Web.

pnpm users

pnpm doesn't expose binaries from transitive dependencies, so install the manager directly:

pnpm add -D @leeovery/claude-manager @leeovery/claude-laravel
pnpm approve-builds  # approve when prompted
pnpm install         # triggers postinstall
Removal (npm/pnpm)

Due to bugs in npm 7+ (issue #3042) and pnpm (issue #3276), preuninstall hooks don't run reliably. Remove files manually first:

npx claude-manager remove @leeovery/claude-laravel && npm rm @leeovery/claude-laravel

How It Works

This package depends on @leeovery/claude-manager, which:

  1. Copies skills into your project's .claude/skills/ directory
  2. Copies commands into your project's .claude/commands/ directory
  3. Copies agents into your project's .claude/agents/ directory
  4. Tracks installed plugins via a manifest file

You don't need to configure anything—just install and start building.

Skills

Each skill provides focused guidance on a specific aspect of Laravel development.

Foundation

Skill Description
laravel-architecture High-level architecture decisions, patterns, and project structure
laravel-quality Code quality with PHPStan, Pint, and strict types

Core Patterns

Skill Description
laravel-actions Action-oriented architecture—domain logic in invokable classes
laravel-dtos Data Transfer Objects with Spatie Laravel Data
laravel-enums Backed enums with labels and business logic
laravel-value-objects Immutable value objects for domain values
laravel-state-machines Complex state management with Spatie Model States

HTTP Layer

Skill Description
laravel-controllers Thin HTTP layer—zero domain logic in controllers
laravel-validation Form requests and validation testing
laravel-routing Route model binding and authorization

Data Layer

Skill Description
laravel-models Eloquent models and relationships
laravel-query-builders Type-safe custom query builders

Infrastructure

Skill Description
laravel-providers Service providers and bootstrapping
laravel-jobs Background processing with jobs and listeners
laravel-policies Authorization policies
laravel-services External API integration with Saloon
laravel-exceptions Custom exceptions and error handling

Enterprise

Skill Description
laravel-multi-tenancy Multi-tenant application patterns
laravel-packages Package extraction and development

Testing

Skill Description
laravel-testing Comprehensive testing patterns with Pest

Commands

Slash commands for common Laravel development tasks.

Coming soon.

Requirements

Contributing

Contributions are welcome! Whether it's:

  • Bug fixes in the documentation
  • Improvements to existing patterns
  • Discussion about approaches and trade-offs
  • New skills for patterns not yet covered

Please open an issue first to discuss significant changes. These are opinionated patterns, so let's talk through the approach before diving into code.

Related Packages

License

MIT License. See LICENSE for details.

Built with care by Lee Overy

leeovery/claude-laravel 适用场景与选型建议

leeovery/claude-laravel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 91 次下载、GitHub Stars 达 43, 最近一次更新时间为 2025 年 11 月 23 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 leeovery/claude-laravel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 leeovery/claude-laravel 我们能提供哪些服务?
定制开发 / 二次开发

基于 leeovery/claude-laravel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 43
  • Watchers: 3
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-23