composer how to add dependency in packages code example
Example 1: composer check package version
composer show package/name
Example 2: composer install package with specific version
composer require PACKAGE_NAME "PACKAGE_VERSION"
composer show package/name
composer require PACKAGE_NAME "PACKAGE_VERSION"