Hardie's avatar

Laravel composer.phar not found

Hi,

I am working on my first project in laravel. I have install laravel on live server by host support team now I want to update laravel composer using ssh/terminal, I have tried composer update and composer.phar update command but gives error: "bash composer/composer.phar command not found",

I have checked the folder but I didn't get composer.phar file on any of folder so can I put any compser.phar file in folder and in which folder I have to put it ?

0 likes
2 replies
stefanbauer's avatar
Level 26

Well, that just means, that composer is not installed. You have several choices:

a) Let the support team install composer globally b) If you have enough permissions, you can install it by yourself. ( https://getcomposer.org/ ) c) Put the composer.phar by your own just in your root of the laravel application and just use it.

Composer is not integrated in the laravel package, if you thought that.

1 like
Hardie's avatar

Hi stefanbauer,

I install composer and also update composer,

I have used socialite for login with google but it gives error like,

ClientException in /home/odooonline/public_html/local/vendor/guzzlehttp/guzzle/src/Middleware.php line 69: Client error: 403

Can you suggest any

Please or to participate in this conversation.