This is an MIT-licensed open source project with its ongoing development made possible by the support of the community. If you'd like to support this, and our other packages, please consider sponsoring us via the button above.
We thank the following sponsors for their generosity, please take a moment to check them out:
-
Install the package:
composer require genealabs/nova-horizon
-
Add the tool to your Nova service provider
app\Providers\NovaServiceProvider.php
:<?php namespace App\Providers; use GeneaLabs\NovaHorizon\NovaHorizon; use Laravel\Nova\NovaApplicationServiceProvider; class NovaServiceProvider extends NovaApplicationServiceProvider { //... public function tools() { return [ //... new NovaHorizon, ]; } //... }
-
When using customized Nova main sidebar menu (https://nova.laravel.com/docs/4.0/customization/menus.html#customizing-the-main-menu), add menu section to your Nova service provider
app\Providers\NovaServiceProvider.php
:MenuSection::make('Horizon') ->path('/nova-horizon') ->icon('server')