Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Skip to end of metadata
Go to start of metadata

If you are web designer, or working on the CSS on your website, this documentation is all you need to know about Composer.

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'glossary:Composer'.

 

Troubleshooting

You may experience some latency in dependency resolution : everything is going normally.

If you are interested by the process, do your Composer commands with the --verbose option activated.

Option verbose -v

Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Usage:

Useful commands

install

The install command reads the composer.lock file from the current directory, processes it, and downloads and installs all the libraries and dependencies outlined in that file. If the file does not exist it will look for composer.json and do the same.

Usage

In this example the dry-run option is mentioned to prevent you to do anything critical. (This option outputs the operations but will not execute anything and implicitly enables the verbose mode).

Documentation with complete usage:

update

 The update command reads the composer.json file from the current directory, processes it, and updates, removes or installs all the dependencies.

Interesting options:

To limit the update operation to a few packages, you can list the package(s) you want to update as such:

 You may also use an asterisk (*) pattern to limit the update operation to package(s) from a specific vendor: