Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
R

Red Amber Green Card

Installation Instructions

Sign up for a free developer account at https://red-amber.green/. Kick the tires, for 30 days, if you like the product, sign up with coupon code RAGNOVA2022 for free access until 1 September 2022. Valid for first 20 users only

Readme

Nova Red Amber Green Card

Laravel nova card to show monitor status from red-amber.green.

Installation

composer require ontherocksoftware/nova-red-amber-green-card

Config

php artisan vendor:publish --provider="Ontherocksoftware\NovaRedAmberGreenCard\CardServiceProvider" --tag="config"

Usage

    use Ontherocksoftware\NovaRedAmberGreenCard\NovaRedAmberGreenCard;

    //option 1 when all monitors under one account then all you need is to publish the config and set your api key.
    return [
        (new NovaRedAmberGreenCard("bd1768eb-a9ee-4741-9659-dea5524c6c48"))->width('1/3'),
        (new NovaRedAmberGreenCard("b0807944-533e-4dce-a5a0-ec6871511fff"))->width('1/3'),
    ];


    //option 2 when monitors using different accounts.
    return [
        (new NovaRedAmberGreenCard("bd1768eb-a9ee-4741-9659-dea5524c6c48"))->apiKey("api_key_1")->width('1/3'),
        (new NovaRedAmberGreenCard("b0807944-533e-4dce-a5a0-ec6871511fff"))->apiKey("api_key_2")->width('1/3'),
    ];

screenshots

Back to Top
Added 3 years ago
Last updated 3 Years Ago
Version v1.0.0
Composer
ontherocksoftware/nova-red-amber-green-card
GitHub stars 0
Packagist downloads 4

Favorites

0 users favorited

Rating

N/A
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Contributors

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas