PHP code example of beyondcode / nova-rss-card

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

    

beyondcode / nova-rss-card example snippets


// in app/Providers/NovaServiceProvder.php

// ...
public function cards()
{
    return [
        // ...
        new RssCard('https://feed.laravel-news.com/'),
    ];
}

new RssCard('https://feed.laravel-news.com/', '500px),

(new RssCard('https://feed.laravel-news.com/', '500px))->withMeta([
    'limit' => 10
]),