Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Composer Json Manipulator

Composer Json Manipulator Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • Fluent editing of require, require-dev, autoload, and scripts
  • Formatting preservation — keeps original JSON structure and whitespace
  • Safe merging of new keys without overwriting existing values
  • Validation against the Composer schema with automatic sorting
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource