DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use Sloppy: what you can do with it

What is Sloppy? Sloppy is a deterministic, local PHP static analyser that flags code patterns that cost maintenance, with hooks for Claude Code, Gemini CLI and Codex, CI annotations, a Pest plugin and an MCP server.

How do I use it? Run composer require --dev heyosseus/sloppy in the project root; then run vendor/bin/sloppy to scan the project and confirm the output; run vendor/bin/sloppy agents install to add the Claude Code hooks, or vendor/bin/sloppy agents install --host=gemini or vendor/bin/sloppy agents install --host=codex for those agents. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

4 use cases

  • Catch agent-written PHP debt before the edit lands

    Install Sloppy hooks so Claude Code, Gemini CLI or Codex checks each PHP edit and fixes new findings.

    View prompt
    In the Heyosseus/sloppy project, install the agent hooks for this repository at <project path> by running the install command for the host agent. Then make a small edit to <target PHP file> that adds a try/catch block, and confirm the agent reports any new findings from that edit. Output the list of findings and whether the agent fixed them.
  • Gate CI on new PHP debt only

    Baseline today's findings, then fail pull requests only when a branch adds new ones.

    View prompt
    In the Heyosseus/sloppy project, set up a baseline for the PHP repository at <project path> by running the baseline command, then run the CI command. Output the number of accepted baseline entries and the CI result. Verify that the CI command reports no findings on the unchanged branch.
  • Review a branch for new PHP debt before merge

    Compare a branch with main and rank only the findings it introduced, highest risk first.

    View prompt
    In the Heyosseus/sloppy project, run the diff and review commands against main for the branch checked out in <project path>. Output the top five ranked findings with their file and rule identifier. Verify that every finding is in a file the branch changed.
  • Fix mechanical PHP findings in one pass

    Let Rector and Pint fix the findings a machine can change, then review what is left.

    View prompt
    In the Heyosseus/sloppy project, run the fix command on the PHP repository at <project path>. Output the number of findings before and after the fix pass, and the findings that still need a person. Verify that the test suite of the project still passes after the fix.

Quick start with Sloppy

  1. Check you have what it needs: PHP 8.3 or newer; Composer; A PHP project with source roots listed in composer.json.
  2. Open Heyosseus/sloppy on GitHub and read the README and license.
  3. Run composer require --dev heyosseus/sloppy in the project root.
  4. Run vendor/bin/sloppy to scan the project and confirm the output.
  5. Run vendor/bin/sloppy agents install to add the Claude Code hooks, or vendor/bin/sloppy agents install --host=gemini or vendor/bin/sloppy agents install --host=codex for those agents. (inferred, check the README)
  6. Ask the agent to make a small change to a PHP file and watch it run Sloppy after the edit.

These steps come from our top use case, Catch agent-written PHP debt before the edit lands, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Heyosseus/sloppy

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Software and DevOps

About this repo

  • Who it is forWritten for PHP and Laravel developers who use AI coding agents and want their edits checked for maintainability problems before they reach review.
  • Why it is hot229 stars, launched 60 days ago
  • LanguagePHP
  • Sourcegithub.com/Heyosseus/sloppy · Back to Hot repos

Requirements

  • PHP 8.3 or newer
  • Composer
  • A PHP project with source roots listed in composer.json
  • Git, for diff and review commands

Add this badge to your README

Maintain Sloppy? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/Heyosseus/sloppy.svg)](https://dedupedai.com/use-cases/heyosseus-sloppy/?utm_source=github&utm_medium=badge&utm_campaign=Heyosseus-sloppy)

HTML

<a href="https://dedupedai.com/use-cases/heyosseus-sloppy/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=Heyosseus-sloppy"><img src="https://dedupedai.com/badge/Heyosseus/sloppy.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Sloppy

What is Sloppy?

Sloppy is a deterministic, local PHP static analyser that flags code patterns that cost maintenance, with hooks for Claude Code, Gemini CLI and Codex, CI annotations, a Pest plugin and an MCP server. It is an open-source project on GitHub: https://github.com/Heyosseus/sloppy.

How do I use Sloppy?

Run composer require --dev heyosseus/sloppy in the project root; then run vendor/bin/sloppy to scan the project and confirm the output; run vendor/bin/sloppy agents install to add the Claude Code hooks, or vendor/bin/sloppy agents install --host=gemini or vendor/bin/sloppy agents install --host=codex for those agents. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Sloppy for?

Written for PHP and Laravel developers who use AI coding agents and want their edits checked for maintainability problems before they reach review.

What can I do with Sloppy?

4 use cases so far, for example: Catch agent-written PHP debt before the edit lands; Gate CI on new PHP debt only; Review a branch for new PHP debt before merge. Each has steps and a copy-paste agent prompt.

What do I need to run Sloppy?

PHP 8.3 or newer; Composer; A PHP project with source roots listed in composer.json; Git, for diff and review commands.

What are alternatives to Sloppy?

Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.

Is Sloppy safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.