2

Just freshly created project with PhpStorm for composer for laravel. I filled DB info to .env and ran migrations now i followed tutorial, to get laravel-backpack running and it fails at second command:

php artisan backpack:base:install

It starts but then throws following:

In Install.php line 94: The command "composer require backpack/generators --dev" failed.
Exit Code: 127(Command not found)

Any idea how to solve this?

HyperX
  • 1,121
  • 2
  • 22
  • 42

1 Answers1

0

You need to require backpack first bevor you can run the artisan command.

composer require backpack/base

Now you should be able to install it.

php artisan backpack:base:install
common sense
  • 3,775
  • 6
  • 22
  • 31