Download the PHP package kalimeromk/update-thujohn-rss without Composer
On this page you can find all versions of the php package kalimeromk/update-thujohn-rss. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kalimeromk/update-thujohn-rss
More information about kalimeromk/update-thujohn-rss
Files in kalimeromk/update-thujohn-rss
Download kalimeromk/update-thujohn-rss
More information about kalimeromk/update-thujohn-rss
Files in kalimeromk/update-thujohn-rss
Please rate this library. Is it a good library?
Informations about the package update-thujohn-rss
RSS
RSS builder for Laravel 5
Installation
Add thujohn/rss
to composer.json
.
"kalimeromk/update-thujohn-rss": "dev-master",
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(
'Rss\RssServiceProvider',
)
Now add the alias.
'aliases' => array(
'Rss' => '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');
});
All versions of update-thujohn-rss with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3|7.4|^8.0|^8.1
ext-simplexml Version *
ext-dom Version *
ext-simplexml Version *
ext-dom Version *
The package kalimeromk/update-thujohn-rss contains the following files
Loading the files please wait ....