How to use Composer to manage project dependencies
Editor to share with you how to use Composer to manage project dependencies, I believe that most people do not understand, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Composer
If you use Composer to manage project dependencies, you can simply add dependencies to phpunit/phpunit in the project's composer.json file. Here is an example of a minimized composer.json file that defines only one development-time (development-time) dependency on PHPUnit 5.0:
{"require-dev": {"phpunit/phpunit": "5.0.*"}}
To complete the system-level installation through Composer, run:
Composer global require "phpunit/phpunit=5.0.*" above is all the content of the article "how to use Composer to manage project dependencies". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!