PHPackages                             matsevh/jeugdwerk-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. matsevh/jeugdwerk-news

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

matsevh/jeugdwerk-news
======================

A packages for Jeugdwerk used to merge multiple news sources of an organization into one json

v1.2.6(2y ago)045PHP

Since Dec 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Matse2005/jeugdwerk-news)[ Packagist](https://packagist.org/packages/matsevh/jeugdwerk-news)[ RSS](/packages/matsevh-jeugdwerk-news/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)DependenciesVersions (25)Used By (0)

 [![Total Downloads](https://camo.githubusercontent.com/f5a1b517461a69f85df700f96accca121ea83d50e90a3164eb6747fd3b74da59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6174736576682f6a657567647765726b2d6e657773)](https://packagist.org/packages/matsevh/jeugdwerk-news) [![Latest Version](https://camo.githubusercontent.com/7025252fa5db628f9753df7b92289e741ff50399e70a5dd3eef95e2d76ed6b46/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6174736576682f6a657567647765726b2d6e657773)](https://packagist.org/packages/matsevh/jeugdwerk-news) [![License](https://camo.githubusercontent.com/e8eb22aae7dfca4b51066f27cdb106ef2d0fd96d494ab1544f32193044f6fc62/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d61747365323030352f6a657567647765726b2d6e657773)](https://packagist.org/packages/matsevh/jeugdwerk-news)

---

**Jeugdwerk News** for Laravel is a package build for [Jeugdwerk](https//jeugdwerk.org) but usable in other projects. This package will make a json response created with sources you want with th possible option for rss, atom, json feed and a json api.

Get Started
-----------

[](#get-started)

> **Requires [PHP 8.1+](https://php.net/releases/)**

First, install Jeugdwerk News via the [Composer](https://getcomposer.org/) package manager:

```
composer require matsevh/jeugdwerk-news
```

Start by adding the Jeugdwerk News Service provider into you `config/app.php`

```
'providers' => ServiceProvider::defaultProviders()->merge([
    /*
      * Package Service Providers...
      */
    \Matsevh\JeugdwerkNews\NewsServiceProvider::class,

    /*
      * Application Service Providers...
      */
    ...
])->toArray(),
```

After that you can migrate the news provider table

```
php artisan migrate
```

after migrating you can create your news provider(s)

```
use Matsevh\Jeugdwerk\NewsProviderController

$providerController = new NewsProviderController();
$provider = $providerController->create(
  link_to: 1, // The model id the provider is linked to
  name: 'First Provider', // The name of the provider
  /*
  The allowed and supported types are json and rss
  - rss for rss and atom feeds
  - json for json feeds and api's
  */
  type: 'json',
  link: 'https://www.vrt.be/vrtnieuws/en.rss.articles.xml' // The link/url of the feed
  /*
  The next params are only used when using the type json
  */
  sub: [], // The levels that the will lower when reading the array
  truncate: true, // Truncate the summery to 100 characters
  authentication: [], // Only bearer is supported at the moment leave the array empty when no authentication required
  authentication: [
    'type' => 'bearer',
    'key' => 'Your Bearer Key'
  ],
  // The field the json fields will turn into the keys are required
  fields: [
    "title" => '', // The news title
    "link" => '', // The link to the article
    "summery" => '', // The summery of the article
    'published' => '' // A Datetime of when the article was published
  ]
));
```

Usage
-----

[](#usage)

### Providers

[](#providers)

#### Updating

[](#updating)

```
use Matsevh\Jeugdwerk\NewsProviderController

$providerController = new NewsProviderController();
$provider = $providerController->update(
  providerId: 1 // The provider id you want to update
  // You only have to include the params you want to update
  name: 'Updated Name', // The name of the provider
  truncate: false // Truncate the summery to 100 characters
));
```

#### Removing

[](#removing)

```
use Matsevh\Jeugdwerk\NewsProviderController

$providerController = new NewsProviderController();
$provider = $providerController->delete(
  providerId: 1 // The provider id you want to update
));
```

### News

[](#news)

#### News from one link

[](#news-from-one-link)

```
use Matsevh\Jeugdwerk\NewsController

$newsController = new NewsController();
$news = $newsController->get(
  link_to: 1 // The link where want all the news from
);
```

#### All the news

[](#all-the-news)

```
use Matsevh\Jeugdwerk\NewsController

$newsController = new NewsController();
$news = $newsController->get();
```

---

Jeugdwerk News is an open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~1 days

Total

24

Last Release

902d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fd51883c5d5d989cbc5bd70b7a5438f4efb9e4c80433fca59e0494e51133fb8?d=identicon)[Matse2005](/maintainers/Matse2005)

---

Top Contributors

[![Matse2005](https://avatars.githubusercontent.com/u/49431416?v=4)](https://github.com/Matse2005 "Matse2005 (30 commits)")

### Embed Badge

![Health badge](/badges/matsevh-jeugdwerk-news/health.svg)

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

###  Alternatives

[lezhnev74/pasvl

Array Validator (regular expressions for nested array, sort of)

5258.3k3](/packages/lezhnev74-pasvl)[nystudio107/craft-recipe

A comprehensive recipe FieldType for Craft CMS that includes metric/imperial conversion, portion calculation, and JSON-LD microdata support

266.4k](/packages/nystudio107-craft-recipe)[overtrue/laravel-qcloud-federation-token

QCloud COS FederationToken generator for Laravel.

179.5k](/packages/overtrue-laravel-qcloud-federation-token)

PHPackages © 2026

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