Download the PHP package igormatkovic/laravel-livelogger without Composer
On this page you can find all versions of the php package igormatkovic/laravel-livelogger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download igormatkovic/laravel-livelogger
More information about igormatkovic/laravel-livelogger
Files in igormatkovic/laravel-livelogger
Package laravel-livelogger
Short Description Log and display you app live to your developers
License MIT
Informations about the package laravel-livelogger
Laravel LiveLogger
==================================================
Simple way to display live logs on a custom dashboard.
The idea behind this was to have a TV on the office wall to display the data. And in a future release to send out a sound if there is a error or similar.
This app uses Pusher.com to send the data. There will be a Websocket version also but since Pusher's free account allows up to 100k messages a day im not sure anybody is going to use it.
Composer
Setup
In app/config/app.php
Comment the Laravel Log Service provider
And add this one:
Also change the Log alias:
From:
To:
From the command line publish and edit the config:
And insert your app data from Pusher.com
Or you can just insert the data in your .env.php to keep it out of GIT
Once you have added your data, just generate the livelogger dash html
Then just open your $domain.com/livelogger.html to see whats getting logged
I would recommend using that URL as a iframe so you can put it in your custom dashboard.
But you can just integrate it directly into your own view:
Don't forget to set your chanel_name and pusher_api_key
Keep in mind. The more log pushes you have the slower the site is going to be!
This app is for more critical parts of the app.
TO DO
- Unit tests.
- Sound for critical events.
- Secure the URL with a token or something.
- Design a better output interface, this one sucks.
All versions of laravel-livelogger with dependencies
illuminate/support Version ~4.0
illuminate/log Version ~4.0
illuminate/console Version ~4.0
pusher/pusher-php-server Version ~2.1