Registry / serialization / suin-php-rss-writer

suin-php-rss-writer

JSON →
library1.6.0phppackagistunverified

Yet another simple RSS writer library for PHP 5.4 or later.

composer require suin/php-rss-writer
INSTALL
IMPORT
SIG · SUIN-PHP-RSS-WRITE
S
suin-php-rss-writer
serializationphpv1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Feed
use Suin\RSSWriter\Feed;

Create an RSS feed with a channel and item, then render it as XML.

use Suin\RSSWriter\Feed; use Suin\RSSWriter\Channel; use Suin\RSSWriter\Item; $feed = new Feed(); $channel = new Channel(); $channel->title('My Channel')->url('http://example.com')->appendTo($feed); $item = new Item(); $item->title('Item Title')->url('http://example.com/item')->appendTo($channel); echo $feed->render();
Debug
Known issues
breakingRequires PHP 5.4+, but may have issues with PHP 8+ due to deprecated features.
fix
Test with your PHP version and consider using a more modern RSS library if needed.
affects: >=1.6.0
Upgrade
Version history
1.6.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
suin-php-rss-writer — pip install suin-php-rss-writer · libregistry