Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mstdmstd's avatar

How to update my laravel / vue.js / vuetify packages to the latest?

Hello, In laravel 5.6 / vue.js2.5 / vuetify application files package.json and composer.json are used for installing of packages. As I understand:

  1. In my composer.json file are written packages installed by commands like :
 composer require wboyz/laravel-enum

2)In my package.json are written packages installed by commands like :

 npm install vue-js-popover --save

Is it so?

  1. The question is which way is the best if I want to update my laravel / vue.js / vuetify packages to the latest? I mean question of compatibility of different packages? How better to trace it not to get errors in incompatibility of libraries?

Thanks !

0 likes
1 reply
bobbybouwmann's avatar

Well to update your composer dependencies you have a few options. The first one is simply updating your composer.json file and specify the version you want to use. After that run composer update. The second option is running composer update vendor/package.

For npm it's almost the same. Either update package.json and run npm update or run a specific package npm update vue-js-popover

1 like

Please or to participate in this conversation.