ergebnis/json-normalizer
Normalize JSON documents with composable normalizers. Includes generic and vendor-specific normalizers for formatting, indentation, schema-based ordering, JSON encoding, chaining, callbacks, and controlling final newlines. Install via Composer and apply a Normalizer to produce consistent JSON output...
composer.json in PHP projects.IndentNormalizer, SchemaNormalizer) to enforce structure across microservices.composer.json management, configuration files, or API payloads).For executives: "This package eliminates JSON inconsistencies across our PHP systems, reducing integration errors and manual review time by 30–50%. It automates critical tasks like composer.json normalization—ensuring dependency management is error-free and compliant—while costing nothing (MIT license) and requiring near-zero maintenance. This is a low-risk, high-impact tool for scaling our PHP infrastructure reliably."
For engineering: "It provides ready-to-use, tested normalizers for common JSON tasks—schema validation, Composer-specific sorting, indentation, and encoding—reducing custom code and bugs. The ChainNormalizer lets you combine steps (e.g., validate → sort → indent) in CI/CD pipelines with minimal effort. With full test coverage and active maintenance, it’s a plug-and-play solution for configuration management and API consistency."
How can I help you explore Laravel packages today?