revolution / laravel-fullfeed
Extracts the main content from web pages for use in feed readers
Fund package maintenance!
Requires
- php: ^8.4
- ext-dom: *
- ext-libxml: *
- illuminate/support: ^12.0||^13.0
Requires (Dev)
- laravel/pint: ^1.22
- orchestra/testbench: ^10.0
- pestphp/pest: ^4.1
- pestphp/pest-plugin-laravel: ^4.0
- revolution/laravel-boost-copilot-cli: ^2.0
- dev-main
- 0.1.19
- 0.1.18
- 0.1.17
- 0.1.16
- 0.1.15
- 0.1.14
- 0.1.13
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-port/ignore-iroirosokuhou-20260427-a5f4891bc5fc18d0
- dev-port-comic-news24-rule-27d8e162e692f57f
- dev-port-kakakumag-20260425-4e0f374219658d51
- dev-port-ignore-animanch-20260424-fd28376cae044bb9
- dev-port-buntobi-rule-2a07327cea603527
- dev-port-ignore-poppoyakiya-93af6a7acac8dcbb
- dev-port-musyoku-tokyo-20260421-9886e633ca7dc044
- dev-port-oeste-jp-ignore-786a3c06cdf7cd7c
- dev-port-namekkutake-livedoor-blog-20260419-1c1edd174171ce50
- dev-port/watamotetrans-livedoor-blog-59b4871807f41972
- dev-port/mogulive-rule-5f28b21bdb52dcc1
- dev-port-kagonekoshiro-rule-905164388d3ea705
- dev-port-moeruasia-rule-21eeaac8455e516b
- dev-copilot/port-moakuri-rules
- dev-copilot/port-kyokuto-blog
- dev-copilot/port
- dev-copilot/port-manga-addiction
This package is auto-updated.
Last update: 2026-04-27 19:02:22 UTC
README
Overview
FullFeed is a Laravel package that extracts the main content from web pages for use in feed readers.
It uses site-specific rules defined in a JSON file to parse and retrieve exactly the content you need.
We've separated the FullFeed package from our private feed reader app and made it publicly available.
Requirements
- PHP >= 8.4
- Since using
Dom\HTMLDocument, must be 8.4 or higher.
- Since using
- Laravel >= 12.x
Installation
composer require revolution/laravel-fullfeed
Or to get the latest development version
composer require revolution/laravel-fullfeed:dev-main
Publish config and site definition files
php artisan vendor:publish --tag=fullfeed
config/fullfeed.php and resources/fullfeed will be created.
Update site definition files
When updating via composer update, you can automatically publish the latest site definition files.
Add the following to the composer.json
"post-update-cmd": [ "@php artisan vendor:publish --tag=laravel-assets --ansi --force", "@php artisan vendor:publish --tag=fullfeed-site --ansi --force" ],
Configuration
If you want to add your own site rules, add them in resources/fullfeed.
Usage
use Revolution\Fullfeed\Facades\FullFeed; $html = FullFeed::get($url);
Testing
use Revolution\Fullfeed\Facades\FullFeed; FullFeed::expects('get') ->with('https://example.com/article/1') ->andReturn('<div>Main content</div>'); // Your test code here
License
MIT