Skip to content

Using the tool

Register the service provider

To start using the tool, you will need to register the tool in your NovaServiceProvider.php file :

// NovaServiceProvider.php

use Oneduo\NovaFileManager\NovaFileManager;

class NovaServiceProvider extends NovaApplicationServiceProvider
{
    // ...

    public function tools(): array
    {
        return [
            // ... any other tools
            NovaFileManager::make(),
        ];
    }
}

Now that the tool is registered, if you go back to your Nova dashboard, you should see a new navigation entry labeled " File Manager".

navigation

Adding a new menu entry to a custom navigation

If you are using a custom menu, you may want to add a new entry to it.

MenuSection::make('File Manager')->path('/nova-file-manager')

NOTE

You can change the tool path in the Configuration file.

tool
MarkerDescription
1Disk switcher dropdown
2Pagination control dropdown
3View mode toggle
4Global search bar
5New folder button
6Upload file button
7Breadcrumbs
8Folders list
9Files list
10Pagination controls

Dark mode support

The tool fully supports dark mode, it automatically syncs to your Laravel Nova color scheme settings.