Download the PHP package laravelium/feed without Composer
On this page you can find all versions of the php package laravelium/feed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravelium/feed
More information about laravelium/feed
Files in laravelium/feed
Package feed
Short Description Framework-agnostic PHP Feed generator for Laravel, Symfony, and more.
License MIT
Homepage https://github.com/RumenDamyanov/php-feed
Informations about the package feed
PHP Feed (Framework-Agnostic)
A modern, framework-agnostic PHP Feed generator for Laravel, Symfony, and any PHP project. Generate RSS and Atom feeds with full caching support and customizable views.
Features
- 🚀 Framework Agnostic: Works with Laravel, Symfony, or any PHP project
- 📡 Multiple Formats: RSS 2.0 and Atom 1.0 support
- ⚡ Caching: Built-in caching support with framework adapters
- 🎨 Custom Views: Use your own templates for feed generation
- 🔧 Dependency Injection: Clean architecture with adapter pattern
- ✅ 100% Test Coverage: Thoroughly tested with Pest
- 📋 PSR-12 Compliant: Follows modern PHP standards
- 🔒 Type Safe: Full PHP 8.3+ type declarations
Requirements
- PHP 8.3+
- Composer
Installation
Usage Examples
Laravel
Basic Usage:
Using Laravel Views (Optional):
For more control, you can use the included Blade templates:
Symfony
Basic Usage:
Using Symfony Views (Optional):
For more control, you can use Twig templates:
Plain PHP / Other Frameworks
Simple Usage (Recommended):
Advanced - Custom Adapters:
You can provide your own implementations for cache, config, response, and view:
Development
Available Composer Scripts
API Reference
Factory Method
Core Methods
Architecture
This package follows a clean architecture pattern with dependency injection:
- Feed: Core feed generator class
- Adapters: Framework-specific implementations
FeedCacheInterface
: Caching operationsFeedConfigInterface
: Configuration accessFeedResponseInterface
: HTTP response handlingFeedViewInterface
: Template rendering
Support This Project
If you find this project useful, please consider supporting its development:
Other ways to support:
- ⭐ Star this repository
- 🐛 Report bugs and suggest improvements
- 💻 Contribute code or documentation
- 💖 Make a donation - See FUNDING.md for details
Contributing
We welcome contributions! Please see our Contributing Guide for details.
Security
If you discover any security-related issues, please check our Security Policy.
License
This package is open-sourced software licensed under the MIT License.
Links
- Contributing Guidelines
- Security Policy
- License
- Changelog
- Funding & Support
- Issues
- GitHub Sponsors