symplify/composer-json-manipulator
Symplify ComposerJsonManipulator provides a PHP API for reading, modifying, and writing composer.json files safely. Update dependencies, scripts, config, and metadata, then save normalized JSON—ideal for tooling, migrations, and automated package maintenance.
symplify/composer-json-manipulator is a PHP library for reading, modifying, and writing composer.json files programmatically. It offers a clean API to inspect and update dependencies, autoload rules, scripts, and other Composer configuration—while preserving the file’s original formatting and indentation. Ideal for tools that automate package setup, migration, or CI workflows.
require, require-dev, autoload, and scriptsHow can I help you explore Laravel packages today?