Claude Code plugins for PHP / Laravel development
npx claudepluginhub guetteman/claude-codeA set of tools for Laravel developers
A Claude Code plugin for PHP and Laravel developers. This plugin provides agents, skills, and coding rules tailored for Laravel development.
# Add the marketplace
/plugin marketplace add guetteman/claude-code
# Install the plugin
/plugin install laravel@guetteman
A senior Laravel software architect following Taylor Otwell's philosophy: "Code should be like Kenny from South Park, not T1000 from Terminator—disposable, easy to change."
Use when designing features, reviewing architecture decisions, or when you need guidance on "the Laravel way."
An elite TDD specialist using Pest PHP. Activates for writing tests, implementing features with TDD, running test suites, architecture testing, and mutation testing. Follows the sacred RED-GREEN-REFACTOR cycle.
Reviews Laravel code for security vulnerabilities and best practices.
Reviews code against all project rules. Spawns parallel agents to check each rule file and provides a summary of violations with fix suggestions.
Creates a new Laravel project from scratch with Herd integration. Guides you through project setup including authentication preferences and Herd configuration.
Starts a new feature in a dedicated branch following the feature/<feature-name> convention. Activates plan mode, conducts an interview, validates the plan with architect, TDD, and security agents, then saves the spec to specs/.
Conducts in-depth technical interviews about implementation plans before coding begins. Helps refine and validate your approach by exploring edge cases, failure modes, and tradeoffs.
Copies the plugin's rules to your project's .claude/rules directory. A convenient alternative to manually copying or symlinking rules.
Initializes your Laravel project with a Makefile, PHPStan (via Larastan), Pint, and Rector configuration files. Runs formatting and static analysis after setup.
This plugin includes opinionated coding rules organized by category:
accessors-mutators - Prefer attribute casting over accessors/mutatorsapi-resource-resolution - API resource resolution patternsarrayable-iterations - Iterating over Arrayable objectsclass-imports - Import conventionscollection-higher-order-messages - Use higher-order messages for simple operationsdatabase-transactions - Database transaction best practicesform-request-authorization - Form request authorization patternslocal-scopes - Eloquent local scope conventionsresource-collections - API resource collection patternssingle-action-controllers - When to use invokable controllersassert-database-empty - Database emptiness assertionsavoid-and-modifier - Avoid the and() modifierchained-higher-order-expectations - Chain expectations elegantlydatabase-assertions-use-models - Use models in database assertionsfactory-count-syntax - Factory count syntax preferencesfactory-relationships - Factory relationship patternshigher-order-expectations - Use higher-order expectationsmagic-factory-relationships - Magic factory relationship methodsminimize-refresh-usage - Minimize model refresh callsmocking - Mocking best practicestest-file-location - Test file organizationuse-pest-functions - Use Pest standalone functions instead of $this-> method callsuse-test-function - Use test() over it()array-destructuring - Array destructuring conventionsenum-options - Enum options in Filament formscommits - Commit message conventionsCurrent Limitation: Claude Code plugins do not yet support automatic distribution of rules. The rules included in this plugin will not be automatically applied to your projects.
To use the rules, you need to manually copy them to your project's .claude/rules directory:
# Copy all rules to your project
cp -r ~/.claude/plugins/marketplaces/guetteman/plugins/laravel/rules/* /path/to/your/project/.claude/rules/
# Or copy specific categories
cp -r ~/.claude/plugins/marketplaces/guetteman/plugins/laravel/rules/laravel/* /path/to/your/project/.claude/rules/laravel/
cp -r ~/.claude/plugins/marketplaces/guetteman/plugins/laravel/rules/pest/* /path/to/your/project/.claude/rules/pest/
Alternatively, you can symlink the rules directory if you want to keep them in sync:
ln -s ~/.claude/plugins/marketplaces/guetteman/plugins/laravel/rules /path/to/your/project/.claude/rules
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.
Claude Code plugins for the Slidev presentation framework
Bundled plugins for actuating and debugging the Chrome browser.