mimmi20/laminasviewrenderer-js-log

Provides a Viewhelper to generate a logger for javascript errors

2.0.4 2025-08-09 14:17 UTC

This package is auto-updated.

Last update: 2025-08-09 14:20:49 UTC


README

Latest Stable Version Latest Unstable Version License

Code Status

codecov Average time to resolve an issue Percentage of issues still open Mutation testing badge

Introduction

This component provides a Viewhelper to generate a logger for javascript errors

Requirements

This library requires PHP 8.1+.

Installation

Run

composer require mimmi20/laminasviewrenderer-js-log

Config

This viewhelper needs a route where the logs are sent to. The route has to defined in the routing config.

<?php
return [
    // ...
    'js-logger' => [
        'route' => '',
    ],
    // ...
];

License

This package is licensed using the MIT License.

Please have a look at LICENSE.md.