avfigueredo/feedvel is a Laravel package for package to obtain the feed rss.
It currently has 1 GitHub stars and 7 downloads on Packagist (latest version 1.0.0).
Install it with composer require avfigueredo/feedvel.
Discover more Laravel packages by avfigueredo
or browse all Laravel packages to compare alternatives.
Last updated
This package provides an easy way to obtain the feed RSS from a site.
PHP 8.0
You can install the package via composer:
composer require avfigueredo/feedvel
You can publish the config file with:
php artisan vendor:publish --provider="Avfigueredo\Feedvel\FeedvelServiceProvider" --tag="feedvel-config"
This is the contents of the published config file:
return [
//Specifies the date format.
'date_format' => 'd/m/Y H:i:s'
];
You can run the command below passing the URL as a parameter to check if the site has a feed.
php artisan feedvel:feed https://www.theminimalists.com/feed/
+------+-----------------+-------+
| Feed | Title | Posts |
+------+-----------------+-------+
| OK | The Minimalists | 10 |
+------+-----------------+-------+
use Avfigueredo\Feedvel\Feedvel;
$feed = Feedvel::from('https://www.theminimalists.com/feed/');
$feed->successful(); // bool
$feed->error(); // returns the message error.
// Content
$feed->title(); // returns the title.
$feed->author(); // returns the author.
$feed->authors(); // returns the authors.
$feed->posts(); // returns the posts.
$feed->original(); // returns the original simple pie object.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.