Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

[DEPRECATED] - Support for multiple custom dashboards in Laravel Nova

License

Notifications You must be signed in to change notification settings

alexbowers/nova-multiple-dashboard

Repository files navigation

Support for multiple custom dashboards in Laravel Nova

Latest Version on Packagist Quality Score Total Downloads

You can now add multiple custom dashboards in Laravel Nova.

Whether you want to group some cards together, have different dashboards visible depending on the logged in user, or want to provide a dashboard with your tool, Multiple Dashboards allows you to do this.

Multiple Dashboard Example

Deprecated

This is now covered in Nova 2.1.0+ so does not need a package for it.

See documentation

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require alexbowers/nova-multiple-dashboard

Usage

There is now a php artisan nova:dashboard <name> command exposed via the CLI.

If you run this, you'll get a App/Nova/Dashboards directory created, which will house your custom dashboards.

Dashboards have a public $order variable you can use to set the order they appear in the navbar. See the Dashboard class for more.

If you are another package creating a nova dashboard, you will need to register it using:

\AlexBowers\MultipleDashboard\DashboardNova::registerDashboards(new \Your\Dashboard\Here);

You can register multiple at once by passing through to the DashboardNova::registerDashboards function.

Security

If you discover any security related issues, please email bowersbros@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

[DEPRECATED] - Support for multiple custom dashboards in Laravel Nova

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •