How to change from Laravel Nova loaded locally to Laravel Nova being updated automatically from the Nova Repository

If you’ve purchased a Laravel Nova license for your application, you can easily convert your composer.json file to update the files automatically when a new version comes out. The official instructions explains how to do it, but we’ve made this short guide on where the changes needs to take place:

In the composer.json require section, change:

"laravel/nova": "*"

to:

"laravel/nova": "~3.0"

In the `repositories` section, change:

"repositories": [
   {
      "type": "path",
      "url": "./nova"
   }
],

to:

"repositories": [
   {
      "type": "composer",
      "url": "https://nova.laravel.com"
   }
],

Now do:

composer update

Reference

https://nova.laravel.com/docs/

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top