title: Laravel Update / install composer package
body: <p>Can you answer me?
  I use the latest version of Laravel and I want to add to my project the PayPal service.
  I want to install some package to Laravel and added this 2 rows to composer.json</p>
  
  <pre><code>"guzzlehttp/guzzle": "~5.2",
  
  "paypal/rest-api-sdk-php": "*"
  </code></pre>
  
  <p>My composer.json file</p>
  
  <pre><code>   {
      "name": "laravel/laravel",
      "description": "The Laravel Framework.",
      "keywords": ["framework", "laravel"],
      "license": "MIT",
      "type": "project",
      "require": {
          "php": "&gt;=7.0.0",
          "fideloper/proxy": "~3.3",
          "laravel/framework": "5.5.*",
          "laravel/tinker": "~1.0"
      },
      "require-dev": {
          "filp/whoops": "~2.0",
          "fzaninotto/faker": "~1.4",
          "mockery/mockery": "0.9.*",
          "phpunit/phpunit": "~6.0"
      },
      "autoload": {
          "classmap": [
              "database/seeds",
              "database/factories"
          ],
          "psr-4": {
              "App\\": "app/"
          }
      },
      "autoload-dev": {
          "psr-4": {
              "Tests\\": "tests/"
          }
      },
      "extra": {
          "laravel": {
              "dont-discover": [
              ]
          }
      },
      "scripts": {
          "post-root-package-install": [
              "/usr/local/bin/php -r \"file_exists('.env') || copy('.env.example', '.env');\""
          ],
          "post-create-project-cmd": [
              "/usr/local/bin/php artisan key:generate"
          ],
          "post-autoload-dump": [
              "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
              "/usr/local/bin/php artisan package:discover"
          ]
      },
      "config": {
          "preferred-install": "dist",
          "sort-packages": true,
          "optimize-autoloader": true,
      "cache-dir": "/home/iamdevco/public_html/norrisms/designer/cache"
      },
      "guzzlehttp/guzzle": "~5.2",
  
  "paypal/rest-api-sdk-php": "*"
  }
  </code></pre>
  
  <p>but I get this error after download packages</p>
  
  <pre><code>$ composer update
  </code></pre>
  
  <p>Loading composer repositories with package information
  Updating dependencies (including require-dev)
  Nothing to install or update
  Generating optimized autoload files</p>
  
  <blockquote>
    <p>Illuminate\Foundation\ComposerScripts::postAutoloadDump
    /usr/local/bin/php artisan package:discover
    The system cannot find the path specified.
    Script /usr/local/bin/php artisan package:discover handling the post-autoload-dump event returned with error code 1</p>
  </blockquote>