laravel composer update

Composer Update Laravel

In this article, we will learn how to update your composer using a command prompt (Terminal).

Introduction :

Composer is a Dependency Manager for PHP, Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.

To update to the 2.0.8 version (The latest stable version), just open your terminal and hit the given command.

You can use :

composer self-update --2

If you want to download and install composer directly click here.

Output :

laravel composer update

Read Also : How to check request method in laravel ?