PHPackages                             kotaru/sulu-news-bundle - 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. kotaru/sulu-news-bundle

ActiveSulu-bundle[Utility &amp; Helpers](/categories/utility)

kotaru/sulu-news-bundle
=======================

Simple News Bundle for Sulu 2 CMS

1.0.0(today)01↑2900%MITPHPPHP ^8.2

Since Jun 9Pushed todayCompare

[ Source](https://github.com/KotaruS/sulu-news-bundle)[ Packagist](https://packagist.org/packages/kotaru/sulu-news-bundle)[ Docs](https://github.com/KotaruS/sulu-news-bundle)[ RSS](/packages/kotaru-sulu-news-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (26)Versions (2)Used By (0)

Simple News for Sulu CMS
========================

[](#simple-news-for-sulu-cms)

PHP 8.3+, Sulu 2.6, Symfony 7.4+

[![GitHub release](https://camo.githubusercontent.com/587132109d4727c55c3fe264af1cc783a3df806721e2137edd5979474412e478/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f72656c656173652f4b6f74617275532f73756c752d6e6577732d62756e646c65)](https://camo.githubusercontent.com/587132109d4727c55c3fe264af1cc783a3df806721e2137edd5979474412e478/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f72656c656173652f4b6f74617275532f73756c752d6e6577732d62756e646c65)[![Supports Sulu 2.6 or later](https://camo.githubusercontent.com/95baf11659ec93686f2f5c0fe1ca453aada2d0a0180257c40f10764be957bac0/68747470733a2f2f666c61742e62616467656e2e6e65742f62616467652f53756c752f322e362f3532423543393f69636f6e3d706870)](https://camo.githubusercontent.com/95baf11659ec93686f2f5c0fe1ca453aada2d0a0180257c40f10764be957bac0/68747470733a2f2f666c61742e62616467656e2e6e65742f62616467652f53756c752f322e362f3532423543393f69636f6e3d706870)

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

[](#installation)

This bundle requires PHP 8.3 or later.

1. Open a command console, enter your project directory and run:

```
composer require kotaru/sulu-news-bundle
```

You'll also need to add the bundle in your `config/bundles.php` file:

```
return [
    //...
    Kotaru\Bundle\SuluNewsBundle\SuluNewsBundle::class => ['all' => true],
];
```

2. Register the new routes by adding the following to your `config/routes/sulu_news_admin.yaml`:

```
sulu_news_api:
    resource: "@SuluNewsBundle/Resources/config/routing_api.yaml"
    prefix: /admin/api
```

3. Add following config to your `config/image-formats.xml`:

```

      Úvodní obrázek článku (2100x900)
      Article Header (2100x900)

```

4. Create a template in your `templates/news/index.html.twig`:
5. **Enjoy the new features of your Sulu installation!**

Extras
------

[](#extras)

- `/admin/api/check/news/{uuid}` endpoint for checking user permissions to edit this news page.

Twig extensions
---------------

[](#twig-extensions)

### Functions

[](#functions)

#### `get_related_news`

[](#get_related_news)

**Arguments:**

- `uuid`: page uuid
- `locale`: locale to resolve news for
- `limit`: how many news to load

Returns a list of related news with given locale

**Usage:**

```
{{ get_related_news('4afdde53-917b-40d2-aed7-3d74c485c39c','en',3) }}
Result:
[news1,news2,news3]
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bcdf8c8ea364f6e733b17bd9cb1a32325d552ab351efea8b8eedc26eb7e925a3?d=identicon)[kotaru](/maintainers/kotaru)

---

Top Contributors

[![KotaruS](https://avatars.githubusercontent.com/u/34488740?v=4)](https://github.com/KotaruS "KotaruS (2 commits)")

---

Tags

 newssulusulucms

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kotaru-sulu-news-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kotaru-sulu-news-bundle/health.svg)](https://phpackages.com/packages/kotaru-sulu-news-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M195](/packages/sulu-sulu)

PHPackages © 2026

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