PHPackages                             richardsjoqvist/silverstripe-news - 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. richardsjoqvist/silverstripe-news

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

richardsjoqvist/silverstripe-news
=================================

A simple news module for SilverStripe

1.3.1(11y ago)0381PHPPHP &gt;=5.3.2

Since May 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/richardsjoqvist/silverstripe-news)[ Packagist](https://packagist.org/packages/richardsjoqvist/silverstripe-news)[ Docs](https://github.com/richardsjoqvist/silverstripe-news)[ RSS](/packages/richardsjoqvist-silverstripe-news/feed)WikiDiscussions master Synced 1mo ago

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

SilverSripe Simple news module
------------------------------

[](#silversripe-simple-news-module)

A simple news module for SilverStripe

Requirements
------------

[](#requirements)

- SilverStripe 3.1

Usage
-----

[](#usage)

To get news entries you can use the static method `NewsHelper::Entries()`:

```
class Page_Controller extends ContentController
{
	function LatestNews() {
		$itemToSkip = 0;
		$itemsToReturn = 5;
		$namespace = 'news';
		return NewsHelper::Entries($itemsToSkip, $itemToReturn, $namespace);
	}
}

```

The namespace parameter is configured on the NewsHolder, and can be used to set up several news sections with different news content. For instance you might want a news section with general news, one section with press releases and one section with financial news. In that case the general news section might have the namespace "news", press releases might be called "press" and the financial section could have the namespace "financial".

If you omit the third parameter the `NewsHelper::Entries()` method will return items regardless of the namespace. It is also possible to list items from several selected namespaces by separating them with a comma:

```
class Page_Controller extends ContentController
{
	function LatestNews() {
		$itemToSkip = 0;
		$itemsToReturn = 5;
		$namespace = 'news,press';
		return NewsHelper::Entries($itemsToSkip, $itemToReturn, $namespace);
	}
}

```

RSS
---

[](#rss)

The news module produces an RSS feed that can be accessed by pointing to the NewsHolder's URL segment and adding /rss at the end. You may also provide additional parameters to control which namespaces entries should be returned from as well as limit and the number of items to skip.

Format: `http://www.domain.com/news/rss/[namespace(s)]/[limit],[skip]`

- \[namespace(s)\] can contain one or more namespaces separated with a comma; `http://www.domain.com/news/rss/news,press/`
- \[limit\] and \[skip\] must both be integer values.
- If you do not provide the \[skip\] argument, a default of 0 is used
- If you do not provide the \[limit\] argument, a default of 20 is used
- If you do not provide the \[namespace(s)\] argument, the namespace of the called newsholder will be used
- You may provide a wildcard as \[namespace(s)\] to display entries from all namesspaces; `http://www.domain.com/news/rss/*/`

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity62

Established project with proven stability

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 ~118 days

Total

5

Last Release

4334d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e7b085f80139f2ffffa4cf6ce00890600d27ce2a40ebf4ca4dae7e41f56b3b5?d=identicon)[richardsjoqvist](/maintainers/richardsjoqvist)

---

Tags

silverstripemodule news

### Embed Badge

![Health badge](/badges/richardsjoqvist-silverstripe-news/health.svg)

```
[![Health](https://phpackages.com/badges/richardsjoqvist-silverstripe-news/health.svg)](https://phpackages.com/packages/richardsjoqvist-silverstripe-news)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39344.8k30](/packages/lekoala-silverstripe-cms-actions)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[lekoala/silverstripe-softdelete

Soft delete extension for SilverStripe

11236.3k](/packages/lekoala-silverstripe-softdelete)[richardsjoqvist/silverstripe-embedder

Embedder enables embedding media in content fields area similar to how embeds work in WordPress

112.6k](/packages/richardsjoqvist-silverstripe-embedder)[nyeholt/news

News module for silverstripe

145.2k](/packages/nyeholt-news)

PHPackages © 2026

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