Skip to content

Instantly share code, notes, and snippets.

@milinmestry
Created October 3, 2019 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milinmestry/8450b71109ccb6f151e72446ce1a8a09 to your computer and use it in GitHub Desktop.
Save milinmestry/8450b71109ccb6f151e72446ce1a8a09 to your computer and use it in GitHub Desktop.
Authentication required (packagist.org) facebook Business SDK for Laravel

{ ... ... "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:

$: 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

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment