Download the PHP package evozon-php/composer-utilities without Composer
On this page you can find all versions of the php package evozon-php/composer-utilities. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download evozon-php/composer-utilities
More information about evozon-php/composer-utilities
Files in evozon-php/composer-utilities
Package composer-utilities
Short Description Composer utilities
License MIT
Homepage https://github.com/Evozon-PHP/composer-utilities
Informations about the package composer-utilities
Composer Utilities
Different Composer utilities for various use cases.
Installation
Synchronize composer.json
When working on a monolith repository, you might have different .json
files.
In this case, there might one .json
file for development (i.e. dev.json
) which installs from local repositories and maybe also different releases. Another .json
file (i.e. composer.json
) would be used for installing packages from remote repositories and probably stable versions.
Add the following to your source .json
file:
All you need to do is to define the nodes you want to ignore during synchronization. Make sure you define them in PropertyAccess format.
The plugin will hook automatically to the post-install-cmd
and post-update-cmd
events and ask if you want to synchronize.
This will work only if you specifically use a custom .json
file:
There is also a custom command added when you want to manually trigger the synchronization process:
Force Update Parameters
Useful when some parameters change in parameters.yml.dist
but updating them parameters.yml
is tedious. Usually it's the case with array parameters.
Add the following to your composer.json
file:
The plugin will hook automatically to the post-install-cmd
and post-update-cmd
events and ask if you want to update parameters.
There is also a custom command added when you want to manually trigger parameters update process:
composer parameters:update --source app/config/parameters.yml.dist --target app/config/parameters.yml
All versions of composer-utilities with dependencies
composer-plugin-api Version ^1.1
symfony/console Version ^4.0
symfony/property-access Version ^4.0
symfony/filesystem Version ^4.0
symfony/yaml Version ^4.0