title: Could not open input file: artisan in Laravel
body: <p>I am trying to run <code>composer update</code> command in my Laravel project. But I am getting below error. </p>
  
  <pre><code>Loading composer repositories with package information
  Installing dependencies (including require-dev) from lock file
  Nothing to install or update
  Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
  Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
  Generating optimized autoload files
  &gt; Illuminate\Foundation\ComposerScripts::postAutoloadDump
  &gt; @php artisan package:discover --ansi
  Could not open input file: artisan
  Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/m8PTh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m8PTh.png" alt="enter image description here"></a></p>