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

aligajani's avatar

How can I setup Nova outside of my Laravel app on a separate Vapor app?

I am not happy with making my application a big monolith. Ideally, I want someone else to work on the dashboard which means having Nova in a separate repository would be perfect for me.

0 likes
3 replies
aligajani's avatar

I didn't mean getting a separate frontend developer to work on Nova. What I mean is the possibility of putting Nova in a separate repo and feeding off from that repo while deploying it to vapor.

rhand's avatar

@aligajani I think you could do it. Laravel Nova can be installed as a composer package loading from Nova. But you would also add it to your own repository and download from there. You could keep the repository private and add a vis repository or use your own private composer / Satis server. When using a vcs you can add:

"repositories": [
        {
            "type": "vcs",
            "url": "[email protected]:user/laravel-nova.git"
        }
    ],

and under require you can mention the package name:

"require": {
        laravel-nova": "*",

You do also need to make sure it is added to the nova directory using something similar to what they use for Laravel Modules with this plugin https://github.com/joshbrw/laravel-module-installer . Perhaps there is an easy one off way to make that that happens using php composer. I am not certain. But there is another general plugin available as well https://github.com/mnsami/composer-custom-directory-installer

The autoloading of the package could be done like the Laravel Module package explained:

"autoload": {
        "psr-4": {
            "App\": "app/",
            "Modules\": "Modules/",
....
        }
    },

I have not tested this however and only looked into this some. So you may need to work things out further.

Please or to participate in this conversation.