PHPackages                             moell/laravel-rss - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. moell/laravel-rss

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

moell/laravel-rss
=================

Based on moell/rss development laravel version

1.0.1(9y ago)111.4k2MITPHP

Since Nov 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/moell-peng/laravel-rss)[ Packagist](https://packagist.org/packages/moell/laravel-rss)[ RSS](/packages/moell-laravel-rss/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

moell/rss
---------

[](#moellrss)

Laravel package developed on the basis of [moell/rss](https://github.com/moell-peng/rss)

### RSS specification

[](#rss-specification)

### 中文README

[](#中文readme)

[README](README_zh.md)

### Requirement

[](#requirement)

Laravel 5+

### Installation

[](#installation)

```
composer require moell/laravel-rss:1.*
```

### Modify config/app.php

[](#modify-configappphp)

```
#Append in providers
Moell\LaravelRss\RssServiceProvider::class,

#Append in aliases
'Rss'   => Moell\LaravelRss\RssFacade::class,
```

### Provides an interface

[](#provides-an-interface)

```
public function setEncode($encode); //默认UTF-8

public function channel(array $channel);

public function item(array $item);

public function items(array $items);

public function build();

public function fastBuild(array $channel, array $item);

public function __toString();
```

### Usage

[](#usage)

```
namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use Rss;

class RssController extends Controller
{
    public function index()
    {
        $channel = [
            'title' => 'title',
            'link'  => 'http://moell.cn',
            'description' => 'description',
            'category' => [
                'value' => 'html',
                'attr' => [
                    'domain' => 'http://www.moell.cn'
                ]
            ]
        ];

        $rss = Rss::channel($channel);

        $items = [];
        for($i = 0; $i < 2; $i++) {
            $item = [
                'title' => "title".$i,
                'description' => 'description',
                'source' => [
                    'value' => 'moell.cn',
                    'attr' => [
                        'url' => 'http://www.moell.cn'
                    ]
                ]
            ];
            $items[] = $item;
            $rss->item($item);
        }

        return response($rss, 200, ['Content-Type' => 'text/xml']);

        //Other acquisition methods
        //return response($rss->build()->asXML(), 200, ['Content-Type' => 'text/xml']);

        //return response($rss->fastBuild($channel, $items)->asXML(), 200, ['Content-Type' => 'text/xml']);

        //return response($rss->channel($channel)->items($items)->build()->asXML(), 200, ['Content-Type' => 'text/xml']);

    }
}
```

### Generate results

[](#generate-results)

```

        title
        http://moell.cn
        description
        html

            title0
            description
            moell.cn

            title1
            description
            moell.cn

```

### License

[](#license)

MIT

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3455d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88bfbfdaec59d69edbb1697433f130ab2a5a66ae8897a63027a3d2ca396774d5?d=identicon)[moell](/maintainers/moell)

---

Top Contributors

[![moell-peng](https://avatars.githubusercontent.com/u/12830061?v=4)](https://github.com/moell-peng "moell-peng (6 commits)")

---

Tags

laravelrss

### Embed Badge

![Health badge](/badges/moell-laravel-rss/health.svg)

```
[![Health](https://phpackages.com/badges/moell-laravel-rss/health.svg)](https://phpackages.com/packages/moell-laravel-rss)
```

###  Alternatives

[spatie/laravel-feed

Generate rss feeds

9743.6M28](/packages/spatie-laravel-feed)[thujohn/rss

RSS builder for Laravel 4

72130.0k3](/packages/thujohn-rss)[rumenx/php-feed

Framework-agnostic PHP Feed generator for Laravel, Symfony, and more.

3652.3k](/packages/rumenx-php-feed)

PHPackages © 2026

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