{ ... ... "require": { "php": "^7.1.3", "doctrine/dbal": "^2.9", "fideloper/proxy": "^4.0", "guzzlehttp/guzzle": "^6.3", "laravel/framework": "5.8.", "laravel/tinker": "^1.0", "facebook/php-business-sdk": "3.1." }, ... ... }
On the terminal(bash)-
$: composer update facebook/php-business-sdk
Loading composer repositories with package information Updating dependencies (including require-dev) Authentication required (repo.packagist.org): Username: Password:
Solution (https://stackoverflow.com/questions/39786363/authentication-required-packagist-org-laravel-installation)
$: composer config --global repo.packagist composer https://packagist.org
$: composer update facebook/php-business-sdk ` Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals
- Installing facebook/php-business-sdk (3.1.8): Downloading (100%)
Writing lock file Generating optimized autoload files
`