Download the PHP package diego-brocanelli/podcast-rss-reader without Composer
On this page you can find all versions of the php package diego-brocanelli/podcast-rss-reader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download diego-brocanelli/podcast-rss-reader
More information about diego-brocanelli/podcast-rss-reader
Files in diego-brocanelli/podcast-rss-reader
Package podcast-rss-reader
Short Description component for easy handling and management of rss feed for podcasts.
License MIT
Informations about the package podcast-rss-reader
Podcast RSS Reader
Component for easy handling and management of rss feed for podcasts.
How to use
Requirements
PHP >= 7.4.
Instalation
How to contribute
Open an issue exposing your point to be analyzed, including detailing the point.
To contribute to the project, create a fork and send your pull request.
Tests
Code Analysis
The command below will run PHPStan level 8 analysis.
PHP Code Sniffer
The command below will run PHPStan level 8 analysis.
Test, Code Analysis and PHP Code Sniffer
Example
Methods
info(): array
Responsible for returning the base data of the rss feed, with the exception of episodes.
Attribute | Type |
---|---|
title | string |
link | string |
description | string |
lastBuildDate | DateTime |
pubDate | DateTime |
language | string |
getImageInfo()
Responsible for returning the DiegoBrocanelli\Podcast\Image
object with its attributes.
Methods | Return |
---|---|
getTitle() | string |
getUrl() | string |
getLink() | string |
getEpisodes()
Responsible for returning a list of DiegoBrocanelli\Podcast\Episode
objects with their attributes.
Methods | Return |
---|---|
getTitle() | string |
getLink() | string |
getPubDate() | DateTime |
getGuid() | string |
getComments() | string |
getCategory() | string |
getDescription() | string |
getAudio() | string |
lastBuildDate()
Responsible for returning the date for the last episode released, returning a DateTime object
.
biggerThen(DateTime $date): array
Allows you to set a date to search for episodes. Bringing all records located from the date informed.