PHPackages                             jvleeuwen/cspreporter - 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. jvleeuwen/cspreporter

ActiveProject

jvleeuwen/cspreporter
=====================

Cspreporter.nl intergration in laravel.

1.0.3(8y ago)117[2 issues](https://github.com/jvleeuwen/laravel-cspreporter/issues)MITPHPPHP &gt;=7.0.0

Since Nov 14Pushed 8y agoCompare

[ Source](https://github.com/jvleeuwen/laravel-cspreporter)[ Packagist](https://packagist.org/packages/jvleeuwen/cspreporter)[ RSS](/packages/jvleeuwen-cspreporter/feed)WikiDiscussions master Synced 2d ago

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

Master: [![Build Status](https://camo.githubusercontent.com/207858a32f1f218f6e2f666e7f660cea6d15b15831c918b53141081d0d05c8e1/68747470733a2f2f7472617669732d63692e6f72672f6a766c65657577656e2f6c61726176656c2d6373707265706f727465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jvleeuwen/laravel-cspreporter)[![Coverage Status](https://camo.githubusercontent.com/f2213d315a8a8cd4ec47f9a08d41b5ed5d5eb8be120c55083049b24e24fe1437/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6a766c65657577656e2f6c61726176656c2d6373707265706f727465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/jvleeuwen/laravel-cspreporter?branch=master&service=github)[![Maintainability](https://camo.githubusercontent.com/92b360a7d35b711dfa6f786ef176d70dec1740ecf2febbb53d69c6ad352c0928/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37653838303261643630666362323239303535642f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/jvleeuwen/laravel-cspreporter/maintainability)[![Test Coverage](https://camo.githubusercontent.com/ff6ed2050d186800a6673c08c77e7ee045b6e727dd72501ac8a70aedd221a752/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37653838303261643630666362323239303535642f746573745f636f766572616765)](https://codeclimate.com/github/jvleeuwen/laravel-cspreporter/test_coverage)[![StyleCI](https://camo.githubusercontent.com/1547563f3d6038648d4bb1101c9985cd4228c9dc11602eaa1e26bcffa75ba297/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131303131393135342f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/110119154)

Develop: [![Build Status](https://camo.githubusercontent.com/2665eeaa7623a3bf63dceb4a34ea7fd262acb328533e8458e801eb2266c57056/68747470733a2f2f7472617669732d63692e6f72672f6a766c65657577656e2f6c61726176656c2d6373707265706f727465722e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/jvleeuwen/laravel-cspreporter)[![Coverage Status](https://camo.githubusercontent.com/e45d6cd707c8c586b12c956b3199f3eb0494b9f0c80883317bb14333b41f0f39/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6a766c65657577656e2f6c61726176656c2d6373707265706f727465722f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/github/jvleeuwen/laravel-cspreporter?branch=develop&service=github)[![Maintainability](https://camo.githubusercontent.com/92b360a7d35b711dfa6f786ef176d70dec1740ecf2febbb53d69c6ad352c0928/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37653838303261643630666362323239303535642f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/jvleeuwen/laravel-cspreporter/maintainability)[![Test Coverage](https://camo.githubusercontent.com/ff6ed2050d186800a6673c08c77e7ee045b6e727dd72501ac8a70aedd221a752/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37653838303261643630666362323239303535642f746573745f636f766572616765)](https://codeclimate.com/github/jvleeuwen/laravel-cspreporter/test_coverage)[![StyleCI](https://camo.githubusercontent.com/7b859dae30744e9f954a98319d8767b580131867f0720c92bcbfef8999a6d988/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131303131393135342f736869656c643f6272616e63683d646576656c6f70)](https://styleci.io/repos/110119154)

CSPreporter Laravel Package
===========================

[](#cspreporter-laravel-package)

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

[](#installation)

To get the latest version, simply require the project using [Composer](https://getcomposer.org):

```
$ composer require jvleeuwen/laravel-cspreporter
```

Using the package:
------------------

[](#using-the-package)

```
// Return an array of current open/scheduled issues and maintenaince windows.
$array = cspreporter::uri('http://cspreporter.nl/rss/actueel/');

// Using the configuration file.
$array = cspreporter::uri({{config('cspreporter.uri').config('cspreporter.actueel)}});
```

Returned array contents:
------------------------

[](#returned-array-contents)

```
$array = [
    'id'    		=> (integer) $item->attributes()->id,
    'title' 		=> (string) $item->title,
    'description'	=> (string) $item->description,
    'pubDate'		=> (string) $item->pubDate,
    'startDate'		=> (string) $item->startDate,
    'endDate'		=> (string) $item->endDate,
    'category'		=> (string) $item->category,
    'link'			=> (string) $item->link,
];
```

.Env options:
-------------

[](#env-options)

These value's are currently set by default if not present in the .env file:

```
CSPREPORTER_URI=http://cspreporter.nl/rss/
CSPREPORTER_WERKZAAMHEDEN=werkzaamheden/
CSPREPORTER_STORINGEN=storingen/
CSPREPORTER_ACTUEEL=actueel/

```

Available commands:
-------------------

[](#available-commands)

```
// Uri:
$array = cspreporter::uri(''); // grabs the uri and returns the xml as an array;

// File:
$file = cspreporter::file(''); // parses the file and returns the xml as an array;

// Test:
$test = cspreporter::test(); // Temporary test function, will be removed later on.

// ParseRss:
$parse = cspreporter::ParseRss('simplexml_load_string('filecontents')'); // implements the simplexml_load_string, parses the xml and returns an array;
```

Scheduling:
-----------

[](#scheduling)

See the Laravel docs on [scheduling](https://laravel.com/docs/master/scheduling). Advising is to pull the Feed once every 10 minutes or less. This prevents the App from beeing blocked.

Tests:
------

[](#tests)

All the needed tests are provided in the /tests dir. If u are missing something check the Questions and commands section.

Questions and comments:
-----------------------

[](#questions-and-comments)

I am allways open for questions and comments. Just reach out to me and i will do my best.

License
-------

[](#license)

This package is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

22

↓

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

4

Last Release

3095d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5579275d89623769db37a376e04de3623e2523a5ea00627640b912d979f52310?d=identicon)[jvleeuwen](/maintainers/jvleeuwen)

---

Top Contributors

[![jvleeuwen](https://avatars.githubusercontent.com/u/21260099?v=4)](https://github.com/jvleeuwen "jvleeuwen (137 commits)")

---

Tags

laravelpackagerssroutitcspreportercspreporter.nl

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jvleeuwen-cspreporter/health.svg)

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.4k10.6M274](/packages/laravel-boost)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)

PHPackages © 2026

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