PHPackages                             dotzecker/larafeed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dotzecker/larafeed

ActiveLibrary[API Development](/categories/api)

dotzecker/larafeed
==================

Feed (Atom and RSS) generator for any framework

2.1.0(10y ago)111.1k11MITPHPPHP &gt;=5.4.0

Since Oct 5Pushed 9y ago2 watchersCompare

[ Source](https://github.com/DotZecker/Larafeed)[ Packagist](https://packagist.org/packages/dotzecker/larafeed)[ RSS](/packages/dotzecker-larafeed/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (4)Versions (4)Used By (1)

Larafeed
========

[](#larafeed)

[![Total Downloads](https://camo.githubusercontent.com/7036893d6808c7feb2648eb0e244f7d43d3247e387e4fadc7fe7b6038c7b99d4/68747470733a2f2f706f7365722e707567782e6f72672f646f747a65636b65722f6c617261666565642f646f776e6c6f6164732e706e67)](https://packagist.org/packages/dotzecker/larafeed)

Feed (Atom and RSS) generator for any framework

Installation
------------

[](#installation)

In order to install execute this command via composer:

```
composer require dotzecker/larafeed

```

Usage
-----

[](#usage)

It has a very intuitive api. First, we need to instantiate the class (Note that the first argument is the format: `atom` or `rss`).

```
use DotZecker\Larafeed\Larafeed as Feed;

$feed = Feed::make(
    'atom',
    [
        'title'       => 'My cool blog about my super afro hair',
        'link'        => 'http://rafa.im',
        'lang'        => 'en',
        'feedLink'    => 'http://rafa.im/blog/feed',
        'logo'        => 'http://rafa.im/images/logo.png',
        'icon'        => 'http://rafa.im/favicon.ico',
        'description' => "I'm super awesome and I like to code, do you?"
    ]
);
```

Or, if you prefer, you can fill it attribute by attribute:

```
use DotZecker\Larafeed\Larafeed as Feed;

$feed = Feed::make('atom');

$feed->title       = 'My cool blog about my super afro hair';
$feed->link        = 'http://rafa.im';
$feed->description = "I don't say 'Hello World', the World says 'Hello Rafa' to me!";
```

Then, you can add author(s)

```
// Only with the name
$feed->addAuthor('Rafael Antonio');

// With full info
$feed->addAuthor(
    [
        'name'  => 'Rafa',
        'email' => 'mail@mail.foo',
        'uri'   => 'http://rafa.im'
    ]
);
```

Now it's the turn to add the entries. Surely, in your application, it will be inside of a `foreach` loop.

```
$feed->addEntry(
    [
        'title'   => 'Mi primer post',
        'link'    => 'http://rafa.im/blog/p/los-labels-y-la-usabilidad',
        'author'  => 'Rafael Antonio Gómez Casas',
        'pubDate' => '2013-03-15',
        'content' => 'Hola, este es mi primer post, Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil, quos, reprehenderit, nemo minus consectetur ipsum molestias cumque voluptatum deserunt impedit totam ab aspernatur rem voluptatibus dolore optio distinctio sequi vero harum neque qui suscipit libero deleniti minima repellat recusandae delectus beatae dignissimos corporis quaerat et nesciunt inventore architecto voluptates voluptatem.'
    ]
);
```

Or you can fill it attribute by attribute:

```
$entry = $feed->entry();

$entry->title   = 'My super title';
$entry->content = '¿Qué tal? :P Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error, aperiam!';
// $entry->...
$feed->setEntry($entry); // We "inject" the entry
```

Finally, we return the generated feed, this will return us a `Symfony\Component\HttpFoundation\Response` instance

```
return $feed->render();
```

License
-------

[](#license)

Larafeed is licenced under the MIT license.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~372 days

Total

3

Last Release

3864d ago

Major Versions

v1.1 → 2.1.02015-10-19

PHP version history (2 changes)v1.0PHP &gt;=5.3.0

2.1.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e1b70b2476930e7a394a09d09ee2eea487514acb4dbda6d4dc8b1da2caa607f?d=identicon)[rgomezcasas](/maintainers/rgomezcasas)

---

Top Contributors

[![rgomezcasas](https://avatars.githubusercontent.com/u/1331435?v=4)](https://github.com/rgomezcasas "rgomezcasas (43 commits)")

---

Tags

laravelatomfeedrss

### Embed Badge

![Health badge](/badges/dotzecker-larafeed/health.svg)

```
[![Health](https://phpackages.com/badges/dotzecker-larafeed/health.svg)](https://phpackages.com/packages/dotzecker-larafeed)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[laminas/laminas-feed

provides functionality for creating and consuming RSS and Atom feeds

16649.2M47](/packages/laminas-laminas-feed)[debril/rss-atom-bundle

RSS / Atom and JSONFeed support for Symfony

1381.3M2](/packages/debril-rss-atom-bundle)[mibe/feedwriter

Generate feeds in either RSS 1.0, RSS 2.0 or ATOM formats

1951.1M5](/packages/mibe-feedwriter)[eko/feedbundle

A Symfony bundle to build RSS feeds from entities

142574.6k3](/packages/eko-feedbundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
