badinansoft / nova-tooltip

A Laravel Nova tool to give you ability to put tooltip in fields in every where and in menu item
5 stars 7 forks source link

A Laravel Nova Tooltip package

This Nova tool lets you:

Features

Screenshot

Installation

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

    composer require badinansoft/nova-tooltip

Usage

Just need add this method to field tooltip()

    Text::make(__('Domain'), 'domain')  
         ->tooltip(__('Domain For Company <br /> <small class="text-primary-500">ex: https://badinanshipping.com</small>'))

Just need add this method to menu item tooltip()

    MenuItem::resource(ArrivedToTurkishOfficeOrder::class)  
             ->tooltip(__('Arrived Orders <br> <small>That mean the orders that <br> arrived to <b>turkish office</b></small>'))  
             ->name(__('AO')),

Credits

License

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