syehan / telescope-nova
A Laravel Nova tool.
v1.0.3
2023-02-10 15:43 UTC
Requires
- php: ^7.3|^8.0
- laravel/telescope: ^4.0
This package is auto-updated.
Last update: 2024-10-10 19:10:58 UTC
README
An extension Laravel Lifecycle embedding Telescope to Nova Admin Panel.
Requirements
- PHP 8.0 or higher
- Nova 4
Installation
You can install the package via composer:
composer require syehan/telescope-nova
Usage
To use this tools just registering in NovaServiceProvider.php like this :
<?php namespace App\Providers; use Laravel\Nova\{Nova, NovaApplicationServiceProvider, Menu}; use Syehan\TelescopeNova\TelescopeNova; class NovaServiceProvider extends NovaApplicationServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { parent::boot(); } /** * Get the tools that should be listed in the Nova sidebar. * * @return array */ public function tools() { return [ new TelescopeNova // <- JUST ADD LIKE THIS ]; } }