Composer
0. Introduction
composer
is a PHP binary script and it's using Unix Shebang to define which interpreter for executing.
1. Execute composer with specific PHP version
So if you're running composer
without any specific option, it will use your PHP version at /usr/bin/env php
(which is your default PHP)
We can have many versions of PHP inside your Linux and you can flexible use which PHP version for executing as you want like this way:
Or just
2. Check & find all installed PHP packages
Last updated