Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gemorroj/rss

rss parser
https://github.com/gemorroj/rss

rss rss-parser

Last synced: about 1 month ago
JSON representation

rss parser

Awesome Lists containing this project

README

        

# RSS

[![Continuous Integration](https://github.com/Gemorroj/Rss/workflows/Continuous%20Integration/badge.svg?branch=master)](https://github.com/Gemorroj/Rss/actions?query=workflow%3A%22Continuous+Integration%22)

### Requirements:

- PHP >= 8.0.2

### Installation:
```bash
composer require gemorroj/rss
```

Example:
```php
addItem(
'one item',
'http://example.com',
'some description',
new \DateTime('yesterday')
);

echo $rss->saveXML(); // rss xml
// $rss->output(); // send rss to browser
```