All Projects → mad-web → nova-horizon-link

mad-web / nova-horizon-link

Licence: MIT License
Smart Link for Laravel Nova to Horizon Dashboard.

Programming Languages

Blade
752 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to nova-horizon-link

nova-horizon
Horizon statistics in Nova
Stars: ✭ 70 (+191.67%)
Mutual labels:  nova, horizon
nova-telescope-link
Smart Link for Laravel Nova to Telescope Debug Assistant.
Stars: ✭ 37 (+54.17%)
Mutual labels:  link, nova
remark-external-links
Legacy plugin to automatically add target and rel attributes to external links — please use `rehype-external-links` instead
Stars: ✭ 50 (+108.33%)
Mutual labels:  link
COA
Openstack Foundation Openstack Certified Administrator exam Preparation
Stars: ✭ 41 (+70.83%)
Mutual labels:  nova
reachable-urls
Check URLs are reachable in text 🕵️
Stars: ✭ 29 (+20.83%)
Mutual labels:  link
URL-Shortner-Bot-V2
A link shortner telegram bot version 2 with advanced features
Stars: ✭ 18 (-25%)
Mutual labels:  link
nova-url-field
A URL input and link field for Laravel Nova
Stars: ✭ 96 (+300%)
Mutual labels:  nova
Mirage
Reimplementation of the Nintendo Switch firmware
Stars: ✭ 40 (+66.67%)
Mutual labels:  horizon
nova-filterable-cards
Add custom filters to your Nova metric cards
Stars: ✭ 57 (+137.5%)
Mutual labels:  nova
react-native-twitter-textview
A <TextView/> component for React Native built on top of twitter-text linkification.
Stars: ✭ 71 (+195.83%)
Mutual labels:  link
fbvideos
🔗 Easily extract downloadable link of publicly available videos on facebook.
Stars: ✭ 28 (+16.67%)
Mutual labels:  link
docker-horizon-core-web
🐳 Core and Web application service for Horizon by OpenNMS
Stars: ✭ 28 (+16.67%)
Mutual labels:  horizon
laravel-nova-nested-form
This package allows you to include your nested relationships' forms into a parent form.
Stars: ✭ 225 (+837.5%)
Mutual labels:  nova
Mc2Discord
A simple minecraft mod, server side only, to link the chat with your Discord server
Stars: ✭ 18 (-25%)
Mutual labels:  link
laravel-nova-order-nestedset-field
Laravel Nova field that make your resources orderable
Stars: ✭ 21 (-12.5%)
Mutual labels:  nova
nova-inspire
The best way to connect with your customers is by reaching out and inspiring them. ~ Me
Stars: ✭ 14 (-41.67%)
Mutual labels:  nova
timely-beliefs
Model data as beliefs (at a certain time) about events (at a certain time).
Stars: ✭ 15 (-37.5%)
Mutual labels:  horizon
nova-horizon-stats
Nova cards for Laravel applications that use Laravel Horizon
Stars: ✭ 31 (+29.17%)
Mutual labels:  nova
nova-rtl-theme
RTL layout for Laravel Nova.
Stars: ✭ 38 (+58.33%)
Mutual labels:  nova
quill-magic-url
Automatically convert URLs to links in Quill
Stars: ✭ 86 (+258.33%)
Mutual labels:  link

Stand With Ukraine

Smart Link to Laravel Horizon Dashboard from Laravel Nova

Latest Stable Version Code Style Status Quality Score Software License

Laravel Nova Horizon Smart Link

Ability to add link to the Laravel Horizon Dashboard in the Laravel Nova sidebar. Link automatically disables if current user hasn't access to the Horizon Dashboard according with access policy which is defined in Horizon::auth method. For more information, checkout the documentation.

Demo

Installation

At first, install via composer:

composer require mad-web/nova-horizon-link

Next up, register the link in the tools method of the NovaServiceProvider:

// app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        // ...
        new \MadWeb\NovaHorizonLink\HorizonLink,
    ];
}

Customization

By default, link label is - Horizon Queues, if you prefer to customize it, just pass new label text into constructor:

// app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        // ...
        new \MadWeb\NovaHorizonLink\HorizonLink('Custom Label'),
    ];
}

In addition, you may use Horizon logo, just pass null or call useLogo method to provide more readable view:

// app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        // ...

        new \MadWeb\NovaHorizonLink\HorizonLink(null),
        // or
        \MadWeb\NovaHorizonLink\HorizonLink::useLogo(),
    ];
}

If you need to customize link target attribute (for example to open a page in a new tab), just pass it as second parameter into constructor or as first parameter into useLogo method. A value should be without prepended underscore _:

// app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        // ...

        new \MadWeb\NovaHorizonLink\HorizonLink('Horizon Queues', 'blank'),
        // or
        \MadWeb\NovaHorizonLink\HorizonLink::useLogo('blank'),
    ];
}

If you prefer to use Fluent Interface:

// app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        // ...

        \MadWeb\NovaHorizonLink\HorizonLink::make()->target('blank'),
        // or
        \MadWeb\NovaHorizonLink\HorizonLink::useLogo()->target('blank'),
    ];
}

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].