PHP code example of oliezekat / mylastrss

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

    

oliezekat / mylastrss example snippets


use \mYLastRSS;

$rss = new \mYLastRSS();
$result = $rss->Get(
    [
    'https://sourceforge.net/p/mylastrss/news/feed.rss',
    'https://github.com/oliezekat/mYLastRSS/releases.atom',
    ]
);
if (is_array($result) && isset($result['items']) && is_array($result['items'])) {
    ...
}