composer which version is installed code example Example: composer install package with specific version composer require PACKAGE_NAME "PACKAGE_VERSION"