It is designed for both.
You can use it in development (you will use a composer updatelot later), and you can use it in the production process (then you will install your dependencies with composer install).
In the development phrase, you determine which dependencies your project works with. And during the manufacturing process, you will make sure that these dependencies are installed.
source
share