think.studio/nova-naviga-ad-preview

Laravel nova NavigaAd api requests preview.

1.2.1 2023-08-18 14:48 UTC

This package is auto-updated.

Last update: 2024-10-18 17:18:25 UTC


README

Packagist License Packagist Version Total Downloads Build Status Code Coverage Scrutinizer Code Quality

Laravel nova admin tool to call naviga ad api endpoints using UI.

Install

composer require think.studio/nova-naviga-ad-preview

Package depends on laravel-naviga-ad. So please after install configure app according laravel-naviga-ad installation instructions.

Add tool to nova servoce provider:

namespace App\Providers;

use NovaNavigaAdPreview\NovaNavigaAdPreview;

class NovaServiceProvider extends NovaApplicationServiceProvider
{
    // ...
    
    public function tools()
    {
        return [
            NovaNavigaAdPreview::make()
                // optionally:
                ->menuName('My custom name')
                ->menuIcon('photograph')
                ->canSee(fn ($request) => true /* add your check */),
        ];
    }
    
    // ...
}

nova-naviga-ad-preview

nova-naviga-ad-preview

Credits

  • Think Studio