colinodell/indentation
Detect, convert, and normalize whitespace indentation in PHP strings. This small utility identifies whether text uses tabs or spaces, measures indent width, and converts between styles—useful for diffing, formatting, and code generation where consistent indentation matters.
colinodell/indentation is a small, single-purpose utility for detecting and manipulating indentation in strings and files. It has no obvious Laravel coupling, which makes it easy to place behind a domain service or adapter. Best fit is backend text processing: normalizing generated code/docs, migration scripts, config transformation, CLI tooling, and developer-facing automation. It should not become a core dependency or be exposed directly to user-facing file manipulation without guardrails.IndentationNormalizer in Laravel’s container and keep the package as an implementation detail. This preserves framework fit and avoids leaking package types into application code.composer.lock, run static analysis and security scanning, and confirm the MIT license is acceptable for the intended distribution model.How can I help you explore Laravel packages today?