Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Feed Reader

Laravel Feed Reader Laravel Package

vedmant/laravel-feed-reader

A Laravel package for fetching and parsing RSS and Atom feeds with a simple, expressive API. Read feed items, access titles, links, descriptions, and metadata, and cache results to keep your application fast and reliable.

Deep Wiki
Context7

Laravel Feed Reader is a lightweight package that brings RSS and Atom feed parsing to your Laravel application. It wraps a simple, expressive API around feed reading, letting you fetch remote feeds, iterate their items, and map them into your own models—all through a familiar Laravel facade with configuration and dependency injection support.

  • Reads both RSS and Atom feeds from any URL
  • Simple Facade API for fetching and iterating feed items
  • Built-in caching to avoid repeated remote requests
  • Configurable item mapping for storing posts in your database
  • Seamless integration with Laravel's service container and config
Frequently asked questions about Laravel Feed Reader
How do I install vedmant/laravel-feed-reader in a Laravel app?
Install it with Composer using composer require vedmant/laravel-feed-reader. The package is expected to work in a standard Laravel app, with optional config publishing and facade usage. After installation, verify the service provider registration and any published configuration before calling the reader. Wrap the package behind your own service or repository interface rather than using the facade directly across controllers and views.
Which Laravel and PHP versions does laravel-feed-reader support?
The provided evaluation does not list official Laravel and PHP version constraints, so check the package's composer.json before adoption. Confirm compatibility against your current Laravel/PHP matrix and the HTTP/XML dependencies it pulls in. Treat version support as a migration gate, especially if you upgrade Laravel frequently.
How does automatic feed discovery work from a website URL?
Feed discovery lets you pass a site URL and have the package locate an associated RSS or Atom feed. This is useful for user-submitted sources, but production systems should still allow explicit feed URLs as a fallback. Validate discovery against your real target sites because not every site advertises feeds correctly.
Can I cache parsed feeds and configure TTLs?
Caching is intended to reduce repeated remote calls when reading the same feed. The team must define cache TTLs, invalidation behavior, and per-feed keys based on the application's cache store. Review how the package keys cached entries and whether your cache driver supports the required behavior in production.
How do I set a custom user agent when fetching feeds?
The package supports configurable custom user agents for feed requests. Set a descriptive user agent that identifies your application and respects target-site policies. Verify that the setting is applied by the underlying HTTP client and that it works with your proxy or timeout configuration.
Does it parse both RSS and Atom feeds, including media enclosures?
The package is described as parsing RSS and Atom feeds into structured post objects with titles, links, dates, authors, and media. Media extraction and mixed RSS/Atom behavior should be validated against your actual target feeds rather than assumed. Feed formats vary widely, so test enclosures, missing fields, and inconsistent date semantics before relying on the output.
Can I run feed fetching and parsing in queued jobs?
Yes, fetching and parsing are expected to be wrapped in queued jobs or scheduled commands in a Laravel app. Keep facade calls out of domain code by routing ingestion through application services or jobs. This also makes retries, timeouts, and failure handling easier to manage.
How should I handle malformed feeds, timeouts, and network errors in production?
Real-world feeds are often malformed, slow, rate-limited, redirected, or inconsistent, so handle network reliability deliberately. Configure timeouts, retries, redirects, and any proxy settings supported by the underlying HTTP client, and isolate failures per feed. Do not let a single broken feed stop a batch ingestion job, and log enough context to diagnose XML or encoding issues.
Is vedmant/laravel-feed-reader actively maintained and safe for production?
The evaluation flags provenance risk: the repository is listed as unknown, stars are modest, and support is likely community-only. License risk is low under MIT, but you should verify maintenance activity, dependency compatibility, and security handling before using it for critical ingestion. For low-criticality features, it can be acceptable behind an application-owned interface with fallback plans.
What are good alternatives or a fallback if the package is abandoned?
If the package is abandoned or a critical feed breaks, keep a fallback path such as a fixture-driven parser or another Laravel RSS/Atom package behind the same FeedReader interface. Start with a bounded proof of concept against representative feeds, including malformed and media-heavy ones. Normalize output into application-owned DTOs so replacing the package does not affect downstream code.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo