Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No composer options when right click

Tags:

composer-php

I want to try to install laravel framework using composer. But i can't see any options 'Use composer here' when right click. But i successfully install composer when I check command line 'composer'. Is there any problem? I'm using WAMP and Windows 10 OS. Please help.

like image 374
PHP.Newbie Avatar asked Dec 08 '22 23:12

PHP.Newbie


2 Answers

"No, the feature was completely removed in the new installer." https://github.com/composer/composer/issues/5169

like image 192
David Bauer Avatar answered Dec 10 '22 13:12

David Bauer


If the context option doesn't appear you'll have to uninstall composer and install it again (maybe you didn't check the option to enable composer in contextual menu for windows).

Anyway the context menu is not necessary if you have composer installed. (or just download composer.phar here)

Then open the cmd windows console (cmd.exe) and execute

cd "c:/the-path-to-the-folder-where-you-want-your-project"

then execute composer with php using (located in the folder where the project meants to be created):

c:/path-to-php/php.exe c:/path-to-composer-phar/composer.phar create-project --prefer-dist laravel/laravel blog
like image 44
Carlos Delgado Avatar answered Dec 10 '22 13:12

Carlos Delgado