thujohn/rss
RSS builder for Laravel 4
131,503
69
Larablocks Analysis
thujohn/rss works with Laravel 4 and 5 (latest release 1.0.3, Dec 22, 2014), all past end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 4 and 5, past end of life
- No release in the last 12 months (last: Dec 22, 2014)
- 319 downloads a month (needs 10,000)
- 69 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Dec 22, 2014.
- No releases in the last 12 months.
- First released: Apr 7, 2014.
- Monthly downloads: 319, up 147% from six months ago.
- 11 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require thujohn/rss |
|
| Latest Version: | 1.0.3 |
| PHP: | >=5.3.0 |
| Laravel: | 4 · 5 |
| License: | MIT |
| Last Updated: | Mar 31, 2016 |
| Links: | GitHub · Packagist |
Maintainer: thujohn
RSS
RSS builder for Laravel 4
Installation
Add thujohn/rss to composer.json.
"thujohn/rss": "~1.0"
Run composer update to pull down the latest version of RSS.
Now open up app/config/app.php and add the service provider to your providers array.
'providers' => array(
'Thujohn\Rss\RssServiceProvider',
)
Now add the alias.
'aliases' => array(
'Rss' => 'Thujohn\Rss\RssFacade',
)
Usage
Returns the feed
Route::get('/', function()
{
$feed = Rss::feed('2.0', 'UTF-8');
$feed->channel(array('title' => 'Channel\'s title', 'description' => 'Channel\'s description', 'link' => 'http://www.test.com/'));
for ($i=1; $i<=5; $i++){
$feed->item(array('title' => 'Item '.$i, 'description|cdata' => 'Description '.$i, 'link' => 'http://www.test.com/article-'.$i));
}
return Response::make($feed, 200, array('Content-Type' => 'text/xml'));
});
Save the feed
Route::get('/', function()
{
$feed = Rss::feed('2.0', 'UTF-8');
$feed->channel(array('title' => 'Channel\'s title', 'description' => 'Channel\'s description', 'link' => 'http://www.test.com/'));
for ($i=1; $i<=5; $i++){
$feed->item(array('title' => 'Item '.$i, 'description|cdata' => 'Description '.$i, 'link' => 'http://www.test.com/article-'.$i));
}
$feed->save('test.xml');
});
Related Packages
mcstutterfish/fbia-rss
Facebook Instant Articles RSS Builder (with Laravel 4 Service Provider)
290
2
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.3 | >=5.3.0 | 4.*| | MIT | |
| 1.0.2 | >=5.3.0 | 4.*| | MIT | |
| 1.0.0 | >=5.3.0 | 4.x | MIT |
