PHP code example of mlopez / rss-reader

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

    

mlopez / rss-reader example snippets


$rss = new RssReader('https://www.elheraldo.co/rss.xml');
$result = $rss->reader()->toArray();
print_r($result);