DEV Community


Changing Your Laravel Version

Obinna Johnson
Am a fullstack developer and DevOps Engineer, That Loves doing things the right way.
・1 min read

Step 1: cd into your project directory

step 2: locate and delete the vendor Folder
step 3: open composer.json file

step 4: locate "laravel/framework": "^6.2",
change to the version you want e.g 5.8
step 5: run composer install or composer update

The End

Discussion (2)

alyatek profile image


msamgan profile image
Mohammed Samgan Khan

this will create a problem if you are using some plugins which are not updated for the laravel v6.2.