Using Laravel 5.4 in PhpStorm

I'm trying to set up PhpStorm to use Laravel 5.4, but I don't know how. I have composer installed globally. And these are the steps I have already taken.

1.Go to Settings -> Languages โ€‹โ€‹and Frameworks -> PHP -> Composer Set the composer.phar path to C: \ ProgramData \ ComposerSetup \ bin \ composer.phar

but I cannot find the PATH for COMPOSER.JSON.

Can anyone give me steps to set up Laravel in PhpStorm.

Am using XAMPP

+3


source to share


1 answer


Reinstall composer and check if the PHP path is correct, if you run composer in terminal you will see this doing something if not installed correctly, similarly if you run php -v it will show the PHP version.



There should be a composer.json file in your Laravel directory, unless you run composer init to build

0


source







All Articles