yogesmhrj / laravel-jslogs
Package to handle the js logs within laravel
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:laravel-plugin
This package is auto-updated.
Last update: 2025-06-26 12:19:31 UTC
README
Please note that this is just the laravel handler for the logs, you will have to execute a client side request to the route provided from this package to write the logs
Setup
Download package
composer require yogesmhrj\laravel-jslogs
Setup service providers
Once the composer has completed the package download, head on to config\app.php
and add the following line to the providers
array.
Yogesmhrj\LaravelJslogs\Providers\JsLogServiceProvider::class
Endpoint for ajax calls
Once the setup is complete, you can call ajax with POST method to the endpoint hop/store/js/logs
to store your logs.