PHP code example of yaroslawww / nova-text-card

1. Go to this page and download the library: Download yaroslawww/nova-text-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/ */

    

yaroslawww / nova-text-card example snippets



class Main extends Dashboard
{
    public function cards()
    {
        return [
              \NovaTextCard\NovaTextCard::make()
                ->width('full')
                ->content('<h1 class="text-center text-3xl text-gray-500 font-light">Welcome to the application!</h1>')
        ];
    }
}