marianvlad/nova-ssl-card

A Laravel Nova card for SSL certificates.

v1.0.0 2018-08-24 19:31 UTC

This package is not auto-updated.

Last update: 2024-10-28 00:40:12 UTC


README

Latest Version on Packagist Total Downloads

Get details about SSL certificate inside a Nova card.

nova-ssl-card

Installation

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

composer require marianvlad/nova-ssl-card

Next up, you must register the card Nova. This is typically done in the cards method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvider.php

// ...

public function cards()
{
    return [
        // ...
        new \Marianvlad\NovaSslCard\NovaSslCard,
    ];
}

Usage

By default the card will show certificate details for the current domain where you have installed Nova but you can configure for any domain name

// in app/Providers/NovaServiceProvider.php

// ...

public function cards()
{
    return [
        new \Marianvlad\NovaSslCard\NovaSslCard, // current domain
        // or
        new \Marianvlad\NovaSslCard\NovaSslCard('laravel.com'),
    ];
}

License

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