Heyosseus/sloppy

Sloppy is a PHP-based static analysis tool for Laravel that reviews git diffs and applies fixes via Rector and Pint. It includes 24 specific rules, Pest expectations, CI annotations, and an MCP server. The project is deterministic and local, avoiding LLM usage. It targets technical debt generated by AI coding agents in Laravel environments.

Sloppy functions as a PHP static analysis utility designed specifically for Laravel projects. It scans git diffs to identify technical debt often introduced by artificial intelligence coding agents. The system relies on twenty four distinct rules to process code. It integrates with Rector and Pint to apply automated fixes. Deterministic logic drives the entire operation without using large language models. The project operates locally to ensure privacy and consistency. It includes Pest expectations and CI annotations for quality control. An MCP server is also part of the toolkit. Developers run the tool against their repository to check for specific issues. The software compares the current state with the last commit. It applies corrections through integrated fix passes. The process targets code generated by AI agents in Laravel environments. It works without requiring external AI services. Users rely on the built in set of rules. The system does not need internet connectivity for its core analysis. It fits into existing CI pipelines for continuous feedback. The repository shows eighty one stars and zero forks on GitHub. This metric reflects the current level of community adoption. The tool is described as being written in PHP. It targets specific technical debt patterns found in Laravel codebases. Attention should be paid to the claim that it addresses AI generated debt. This assertion comes from the project description. The scope remains limited to the defined rules. Verification of rule effectiveness is necessary for new users.

README

Heyosseus/sloppy View on GitHub

Loading the README from GitHub…