PHP code example of joaopaulolndev / filament-check-ssl-widget

1. Go to this page and download the library: Download joaopaulolndev/filament-check-ssl-widget library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

joaopaulolndev / filament-check-ssl-widget example snippets


use Joaopaulolndev\FilamentCheckSslWidget\FilamentCheckSslWidgetPlugin;

->plugins([
    FilamentCheckSslWidgetPlugin::make()
        ->domains([
            'laravel.com',
            'filamentphp.com',
            'github.com'
        ])
])

use Joaopaulolndev\FilamentCheckSslWidget\FilamentCheckSslWidgetPlugin;

FilamentCheckSslWidgetPlugin::make()
    ->domains([
        'laravel.com',
        'filamentphp.com',
        'github.com'
    ])
    ->shouldShowTitle(false) // Optional show title default is: true
    ->setTitle('Certificates') // Optional
    ->setDescription('SSL certificate detail')  // Optional
    ->setQuantityPerRow(1) //Optional quantity per row default is: 1
    ->setColumnSpan('full') //Optional column span default is: '1/2' 
    ->setSort(10)
bash
php artisan vendor:publish --tag="filament-check-ssl-widget-views"
bash
php artisan vendor:publish --tag="filament-check-ssl-widget-translations"