Answer the question
In order to leave comments, you need to log in
Laravel is not an internal or external command?
Started installing laravel via composer. I use Openserver, in the console I wrote "composer create-project --prefer-dist laravel/laravel blog", the project was created in the domains/laravel folder, everything is fine. But when typing the command in the console, laravel gives an error: "laravel" is not an internal or external
command, executable program or batch file.
Below is a screenshot with the path variable
And when you enter "php artisan serve" into the console, it
gives an error:
Could not open input file: artisan
Answer the question
In order to leave comments, you need to log in
Go to the console in the created folder, now you are in ospanel (look at the path next to the command being executed)
You need to go to the folder with the newly created project
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question