PHP code example of adspectus / feedreader

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

    

adspectus / feedreader example snippets


use Adspectus\FeedReader\FeedReader;

$feed = new FeedReader('https://www.heise.de/security/rss/news.rdf');

if (! empty($feed->error())) {
  dump($feed->error()); /* or var_dump($feed->error()) */
}

dump($feed->debug()); /* or var_dump($feed->debug()) */

`adspectus.feedreader.cache` => false