PHPackages                             dynamic/silverstripe-elemental-blog - 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. dynamic/silverstripe-elemental-blog

ActiveSilverstripe-vendormodule

dynamic/silverstripe-elemental-blog
===================================

Show recent posts from a featured blog.

4.0.0(5mo ago)155.6k↓100%15[4 issues](https://github.com/dynamic/silverstripe-elemental-blog/issues)1BSD-3-ClausePHPPHP ^8.3CI passing

Since Jul 30Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/dynamic/silverstripe-elemental-blog)[ Packagist](https://packagist.org/packages/dynamic/silverstripe-elemental-blog)[ GitHub Sponsors](https://github.com/sponsors/dynamic)[ RSS](/packages/dynamic-silverstripe-elemental-blog/feed)WikiDiscussions 4 Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (28)Used By (1)

SilverStripe Elemental Blog
===========================

[](#silverstripe-elemental-blog)

Recent Blog Posts Element for the SilverStripe Elemental module.

[![CI](https://github.com/dynamic/silverstripe-elemental-blog/workflows/CI/badge.svg)](https://github.com/dynamic/silverstripe-elemental-blog/workflows/CI/badge.svg)[![Sponsors](https://camo.githubusercontent.com/e9acca7fc1dd68a94435b95c67dbcdb7f064a84597a2be1307c1b3ddd00ae0e4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53706f6e736f722d44796e616d69632d6666363962343f6c6f676f3d6769746875622d73706f6e736f7273266c6f676f436f6c6f723d7768697465)](https://github.com/sponsors/dynamic)

[![Latest Stable Version](https://camo.githubusercontent.com/1315d59b9adbbb8245e8c1882bd31bf2880459f1ef569f2ab8db54229c404738/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d69632f73696c7665727374726970652d656c656d656e74616c2d626c6f672f762f737461626c65)](https://packagist.org/packages/dynamic/silverstripe-elemental-blog)[![Total Downloads](https://camo.githubusercontent.com/4abf0444c671752e4de49a492d4d632e72cd546327190b04dc357887762db13d/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d69632f73696c7665727374726970652d656c656d656e74616c2d626c6f672f646f776e6c6f616473)](https://packagist.org/packages/dynamic/silverstripe-elemental-blog)[![Latest Unstable Version](https://camo.githubusercontent.com/0a1aa1e47cc454f0defe02618cc8d46c16f5b967f6011909090d68a463e88a86/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d69632f73696c7665727374726970652d656c656d656e74616c2d626c6f672f762f756e737461626c65)](https://packagist.org/packages/dynamic/silverstripe-elemental-blog)[![License](https://camo.githubusercontent.com/896fd94c75d4965c6fbac0933819da138e85e757169a22f162660ddce503bc07/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d69632f73696c7665727374726970652d656c656d656e74616c2d626c6f672f6c6963656e7365)](https://packagist.org/packages/dynamic/silverstripe-elemental-blog)

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

[](#requirements)

- SilverStripe ^6
- PHP ^8.1
- silverstripe/blog: ^5.0
- dnadesign/silverstripe-elemental: ^6.0

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

[](#installation)

`composer require dynamic/silverstripe-elemental-blog`

Upgrading from version 3.0
--------------------------

[](#upgrading-from-version-30)

SilverStripe Elemental Blog 4.0 is compatible with SilverStripe 6. Key changes:

- Updated to SilverStripe CMS 6
- Requires PHP 8.1 or higher
- Updated `silverstripe/blog` to ^5.0 (SS6 compatible)
- Updated `dnadesign/silverstripe-elemental` to ^6.0 (SS6 compatible)
- **Removed widget support** - The SilverStripe widget module is no longer supported in SS6
    - `ElementBlogWidgets` block has been removed
    - Widget-related configuration options have been removed
    - If you were using widget functionality, you will need to migrate to alternative solutions

For more information about SilverStripe 6, see the [SilverStripe 6 Upgrade Guide](https://docs.silverstripe.org/en/6/upgrading/).

License
-------

[](#license)

See [License](license.md)

Usage
-----

[](#usage)

There are three blocks available for you to use. It is likely that you will not want all of them to be available to content authors, so it is recommended that you review what the purpose of each block is, and then add the ones you don't need to `disallowed_elements`.

The three blocks are:

- [ElementBlogPosts](#elementblogposts)
- [ElementBlogOverview](#elementblogoverview)
- [ElementBlogPagination](#elementblogpagination)

### ElementBlogPosts

[](#elementblogposts)

A block to show a list of recent posts by a featured blog. Ideal for home pages or dashboards.

### ElementBlogOverview

[](#elementblogoverview)

The purpose of this block is to replicate the output that was originally being given by the Blog module's `Layout`template.

**Including:**

- Title (including Category/Archive/etc titles)
- Content
- Blog Posts
- Pagination

[![Overview Block - Single](./docs/en/_images/overview-block-single.png)](./docs/en/_images/overview-block-single.png)

You will likely want to override the very basic default template that has been provided, you can do so by overriding the template found with the namespace `Dynamic\Elements\Blog\Elements\ElementBlogOverview.ss`.

#### Controlling pagination &amp; widgets for this block

[](#controlling-pagination--widgets-for-this-block)

**Pagination config:**

- `pagination_field_default`: `1` (pagination is enabled by default)
- `show_pagination_field`: `true` (content authors have the ability to turn pagination on or off)

With the default configuration, when an author creates a new Overview block, they will be presented with a checkbox to "Show pagination" (which will be ticked by default). If you do **not** want your authors to be able to disable pagination, then you can update the `show_pagination_field` config to `false`.

```
Dynamic\Elements\Blog\Elements\ElementBlogOverview:
  show_pagination_field: false
```

If you would like pagination to be turned **off** by default, then you can update the `pagination_field_default` to `0`.

```
Dynamic\Elements\Blog\Elements\ElementBlogOverview:
  pagination_field_default: 0
```

#### Using this block on Page types other than `Blog`

[](#using-this-block-on-page-types-other-than-blog)

**Please consider:** While the Overview block does support you using it on other page types, it is primarily designed to be used on Blog page types. This is because it is `Blog` and `BlogController` that provide the relevant info to this block.

Please consider whether you want this block to be available to other page types, and if you don't, you might want to add this block to `disallowed_elements` on your other page types. EG:

```
App\Model\Page\MyPage:
  disallowed_elements:
    - Dynamic\Elements\Blog\Elements\ElementBlogOverview
```

If you do wish this block to be available on other page types, then please review the contents on the class to see how you can dictate what data should be provided to this block.

ElementBlogPagination
---------------------

[](#elementblogpagination)

You might decide that you would like Pagination to be displayed quite separately to the Overview block. This can be achieved by using `ElementBlogPagination` as a separate block.

**Please consider:** Like the Overview Block, please consider removing this block from any/all Page types that you do not want it available on. EG, if you don't want to use it at all, you can disallow it for all pages by default:

```
Page:
  disallowed_elements:
    - Dynamic\Elements\Blog\Elements\ElementBlogPagination
```

[![Overview Block Separated](./docs/en/_images/overview-block-separated.png)](./docs/en/_images/overview-block-separated.png)

Getting more elements
---------------------

[](#getting-more-elements)

See [Elemental modules by Dynamic](https://github.com/orgs/dynamic/repositories?q=elemental&type=all&language=&sort=)

Configuration
-------------

[](#configuration)

See [SilverStripe Elemental Configuration](https://github.com/dnadesign/silverstripe-elemental#configuration)

Maintainers
-----------

[](#maintainers)

- [Dynamic](http://www.dynamicagency.com) ()

Bugtracker
----------

[](#bugtracker)

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance60

Regular maintenance activity

Popularity34

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 55.6% 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 ~126 days

Recently: every ~94 days

Total

23

Last Release

60d ago

Major Versions

1.0.1 → 2.0.02019-01-17

1.0.2 → 2.1.22019-07-29

2.3.x-dev → 3.0.02023-05-24

3.0.3 → 4.0.02025-11-18

3.x-dev → 4.x-dev2026-03-11

PHP version history (3 changes)2.3.x-devPHP ^7.4 || ^8.0

3.0.0PHP ^8.0

4.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/867942?v=4)[Dynamic](/maintainers/dynamic)[@dynamic](https://github.com/dynamic)

---

Top Contributors

[![jsirish](https://avatars.githubusercontent.com/u/1163643?v=4)](https://github.com/jsirish "jsirish (35 commits)")[![muskie9](https://avatars.githubusercontent.com/u/870751?v=4)](https://github.com/muskie9 "muskie9 (14 commits)")[![mak001](https://avatars.githubusercontent.com/u/1750550?v=4)](https://github.com/mak001 "mak001 (6 commits)")[![chrispenny](https://avatars.githubusercontent.com/u/505788?v=4)](https://github.com/chrispenny "chrispenny (2 commits)")[![LABCAT](https://avatars.githubusercontent.com/u/9105153?v=4)](https://github.com/LABCAT "LABCAT (1 commits)")[![anhld](https://avatars.githubusercontent.com/u/4111365?v=4)](https://github.com/anhld "anhld (1 commits)")[![obj63mc](https://avatars.githubusercontent.com/u/443120?v=4)](https://github.com/obj63mc "obj63mc (1 commits)")[![chillu](https://avatars.githubusercontent.com/u/111025?v=4)](https://github.com/chillu "chillu (1 commits)")[![ishannz](https://avatars.githubusercontent.com/u/20032948?v=4)](https://github.com/ishannz "ishannz (1 commits)")[![korthjp17](https://avatars.githubusercontent.com/u/3858661?v=4)](https://github.com/korthjp17 "korthjp17 (1 commits)")

---

Tags

hacktoberfestsilverstripesilverstripe-elementalsilverstripeblogblockelement

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dynamic-silverstripe-elemental-blog/health.svg)

```
[![Health](https://phpackages.com/badges/dynamic-silverstripe-elemental-blog/health.svg)](https://phpackages.com/packages/dynamic-silverstripe-elemental-blog)
```

###  Alternatives

[dnadesign/silverstripe-elemental-decisiontree

Element displaying information in regards to answers given to questions

1116.2k1](/packages/dnadesign-silverstripe-elemental-decisiontree)[wedevelopnl/silverstripe-elemental-grid

Elemental grid module

1014.1k2](/packages/wedevelopnl-silverstripe-elemental-grid)

PHPackages © 2026

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