You probably want to return the feed data inside your "DashboardController". Depending on the frequency of the RSS feed you could fetch the data every time your endpoint is called (via Guzzle for example) or if the feed is not updated that often you can cache the feed for let's say 24 hours and return that.
Jun 22, 2021
1
Level 1
How to add display to default Dashboard page
I would like to read from an RSS feed and display the feed on the default dashboard page.
Where would I add the logic to read the feed (curl or something) and return it to the default laravel blade dashboard.php file?
What file would I need to edit or do I add some middleware/controller to do this instead?
Please or to participate in this conversation.