PHPackages                             henaro/crss - 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. henaro/crss

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

henaro/crss
===========

PHP Class for creating an easy rss feed

v1.0(10y ago)030[2 issues](https://github.com/heennkkee/rss/issues)MITPHPPHP &gt;=5.4

Since Mar 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/heennkkee/rss)[ Packagist](https://packagist.org/packages/henaro/crss)[ Docs](https://github.com/heennkkee/rss)[ RSS](/packages/henaro-crss/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/d7b053e7adf0381507a8e28276d04b5bd66c9defbb315ae40c48ae2404b8ca2d/68747470733a2f2f7472617669732d63692e6f72672f6865656e6e6b6b65652f7273732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/heennkkee/rss)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5a455f2a34970dc4af47be31df03189bf427e966932dca36fd9cfafb346bef30/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6865656e6e6b6b65652f7273732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/heennkkee/rss/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/16b6a5052bf7e13cddbd96a641cfd3e6623a4a36c33d1a43869889e4725b8f65/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6865656e6e6b6b65652f7273732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/heennkkee/rss/?branch=master)

\#LICENSE This software is distributed under the MIT License.

\##Usage The library needs read/write access to a folder, standard is the folder "rsscache" in your webroot, but if you specify another rssFile then you'll have to adjust your permissions accordingly. In addition it needs read/write in it's own src folder, to manage the database. Standard setting is to create the database src.sqlite in the src folder, but this can be changed as well.

Either you change the sourcecode to fit your feed description, or you do it when you initiate the class on the route that generates the RSS feed. In my example code I wouldn't write my RSS Description when I call the rss class on the "add page", only on the actual "rss.php".

Out of the box this will show your 5 latest "RSS news".

NOTE: This library does not cover any databasesecurity at all. The user will have to make sure nobody can "have fun" with your stuff.

\###Initiation `$rss = new \henaro\rss\crss();`

Editable options are (followed with standard value):

- rssFile =&gt; rsscache/rss.xml
- table =&gt; RSSFeed
- newsCount =&gt; 5
- db
    - dsn =&gt; sqlite:' . REALPATH(**DIR**) . '/src.sqlite (so in the same folder as the source document)
    - username =&gt; null
    - password =&gt; null
    - driver\_options =&gt; null
- feedDescription
    - title =&gt; CRSS easy feed
    - link =&gt;
    - description =&gt; Description of the amazing feed.

Standard options are adjusted so it's as much "good to go" as possible. Highly recommended to edit the feedDescription to fit your needs.

\###Insert new item

```
$rss->insertRSS(['LINK' => 'Link to your post', 'TITLE' => 'Title of the post', 'DESCRIPTION' => 'Short description of the item']);

```

Inserts a new post to your database with appropriate information needed to generate a new rss.xml file when requested. The idea is to call this when you an event that should trigger the RSS to update occurs.

\###Generate RSS Feed `$rss->getRSS();`

-&gt;getRSS() handles the generation of a new RSS file, if needed, and then reads the content of rsscache/rss.xml into the browser.

All SQL commands are made to work with SQLite, nothing else.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

3768d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12745884?v=4)[Henrik Aronsson](/maintainers/heennkkee)[@heennkkee](https://github.com/heennkkee)

---

Top Contributors

[![heennkkee](https://avatars.githubusercontent.com/u/12745884?v=4)](https://github.com/heennkkee "heennkkee (78 commits)")

---

Tags

rss

### Embed Badge

![Health badge](/badges/henaro-crss/health.svg)

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

###  Alternatives

[spatie/laravel-feed

Generate rss feeds

9823.8M35](/packages/spatie-laravel-feed)[dg/rss-php

RSS &amp; Atom Feeds for PHP is a very small and easy-to-use library for consuming an RSS and Atom feed

4801.3M11](/packages/dg-rss-php)[suin/php-rss-writer

Yet another simple RSS writer library for PHP 5.4 or later.

2651.4M21](/packages/suin-php-rss-writer)[thujohn/rss

RSS builder for Laravel 4

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

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

3644.1k](/packages/rumenx-php-feed)[openpsa/universalfeedcreator

RSS and Atom feed generator by Kai Blankenhorn

3595.5k1](/packages/openpsa-universalfeedcreator)

PHPackages © 2026

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