PHP code example of diego-brocanelli / podcast-rss-reader
1. Go to this page and download the library: Download diego-brocanelli/podcast-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/ */
diego-brocanelli / podcast-rss-reader example snippets
iegoBrocanelli\Podcast\Podcast;
use DiegoBrocanelli\Podcast\Reader;
$feed = 'https://devnaestrada.com.br/feed.xml';
$podcast = new Podcast( new Reader($feed) );
$podcast->getEpisodes(); //Return: array<Episodes>
bash
composer analyse