Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-jslogs maintained by yogesmhrj

Description
Package to handle the js logs within laravel
Last update
2024/01/26 10:27 (dev-master)
Links
Downloads
2

Comments
comments powered by Disqus

Package to handle the js logs within laravel

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.