genealabs / nova-horizon
A Laravel Nova tool.
Fund package maintenance!
mikebronner
Installs: 41 319
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 4
Forks: 14
Open Issues: 0
Requires
- php: ^7.3|^8.0
README
Supporting This Package
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:
Installation
-
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')