PHP code example of norman-huth / nova-watch-card

1. Go to this page and download the library: Download norman-huth/nova-watch-card 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/ */

    

norman-huth / nova-watch-card example snippets


    public function cards(): array
    {
        return [
            new \NormanHuth\NovaWatchCard\NovaWatchCard(),
        ];
    }

    public function cards(): array
    {
        return [
            new \NormanHuth\NovaWatchCard\NovaWatchCard('4.29.0'),
        ];
    }

    public function cards(): array
    {
        return [
            new \NormanHuth\NovaWatchCard\NovaWatchCard()
                ->setHeading('Customer 3'),
        ];
    }
shell
php artisan vendor:publish --tag=nova-watch-card-translations