Updating Composer to use Ways Generator
I am using laragon. I need to update the composer on my windows machine. The application is installed on C:\laragon\www\myapp. I went to the composer.json in myapp project and update it with this code:
for way's generator. I need to run: php artisan ../composer update --dev. This gives error of:Could not open Input File: ../composer
Please, what can i do, I am new to laravel and laragon.
composer is installed globally, so you just use composer not ../composer
@leokhoa : I did that, but still show the same error as above.
Did you run this?
composer update --dev
Yes, I did that but didn't worked. Now I see where the error is emanting from. I was running the command using my command prompt instead of running it on ther terminal of the laragon menu. Now it is fine. Thanks all the same. Up for you
Cool, you should use Terminal, glad to hear it works