Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
N

Menu Collapsed

Readme

Nova Menu Collapsed

Latest Version on Packagist Total Downloads License

This tool gives you the ability to set the default collapse state for Nova 4.0 menu items.

Requirements

  • php: >=8.0
  • laravel/nova: ^4.0

Installation

Install the package in a Laravel Nova project via Composer and edit the configuration file

# Install the package
composer require stepanenko3/nova-menu-collapsed

# Publish the configuration file and edit it to your preference
php artisan vendor:publish --provider="Stepanenko3\NovaMenuCollapsed\ToolServiceProvider" --tag="config"

Register the tool with Nova in the tools() method of the NovaServiceProvider:

// in app/Providers/NovaServiceProvider.php

public function tools()
{
    return [
        // ...
        new \Stepanenko3\NovaMenuCollapsed\MenuCollapsed,
    ];
}

Setting up

After publishing the configuration file, you have to make some required changes in config/nova-menu-collapsed.php:

'collapsed' => true,

Credits

License

Nova Menu Builder is open-sourced software licensed under the MIT license.

Reviews

By Michal Čečko on October 11, 2023

Doesn't work.

By denisvasilievclarity on July 27, 2023

Where is collapse button???? I can see it.

By William on May 8, 2022

Works perfectly. Great tool. Thanks.

Back to Top
Added 3 years ago
Last updated 2 Years Ago
Version v1.2.2
Nova Version ^4.0
Composer
stepanenko3/nova-menu-collapsed
GitHub stars 11
Packagist downloads 14,557

Favorites

2 users favorited

Rating

2.30
(out of 5)
★★★★★
★★★★
★★★
★★
3 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas