composer json manually add package code example
Example 1: composer install without dependencies
composer install --ignore-platform-reqs
Example 2: composer add package
composer require name-of-package
composer install --ignore-platform-reqs
composer require name-of-package