Taylor Otwell has released a new Laravel-focused plugin for Claude Code that brings automated code cleanup directly into Laravel and PHP workflows.
The project, laravel/claude-code, is a port of the internal code-simplifier agent recently open sourced by Boris Cherny and the Claude Code team. The agent is designed to be run after long coding sessions or complex pull requests to simplify, clean up, and normalize code.
What the Claude Code Simplifier Plugin Does
The code simplifier agent focuses on improving code quality rather than changing behavior. It helps by:
- Reducing unnecessary complexity
- Improving readability and structure
- Cleaning up large or messy diffs after extended work sessions
- Making refactors easier to review and ship
Taylor’s Laravel version adapts the agent specifically for Laravel and PHP conventions, making it a natural fit for existing Laravel projects.
How to Install It
From within Claude Code, you can install the Laravel plugin using:
/plugin marketplace add laravel/claude-code/plugin install laravel-simplifier@laravel
Once installed, you can ask Claude to run the Laravel simplifier after finishing a coding session or before finalizing a pull request.
> Review recent changes using the laravel-simplifier agent
You can explore the plugin and documentation on GitHub in the laravel/claude-code repository.