jyggen / feedable
Feedable is a simple and lightweight library which allows you to easily create RSS and Atom feeds.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/jyggen/feedable
Requires (Dev)
This package is auto-updated.
Last update: 2022-03-16 01:30:34 UTC
README
Feedable is a simple and lightweight library which allows you to easily create RSS and Atom feeds.
Install
Via Composer
{
"require": {
"jyggen/feedable": "~1.0"
}
}
Usage
First you'll have to decide which feed format you'd like to use. Feedable currently supports Atom, RDF and RSS.
To create a new RSS feed for example you'll have to pass an instance of Feedable\Formatter\RSS to Feedable\Feed, like this:
$feed = new Feedable\Feed(new Feedable\Formatter\RSS);
Testing
$ phpunit
Credits
License
The MIT License (MIT). Please see License File for more information.