Download the PHP package laralogapp/laralog without Composer
On this page you can find all versions of the php package laralogapp/laralog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laralogapp/laralog
More information about laralogapp/laralog
Files in laralogapp/laralog
Package laralog
Short Description A package to work with laralog.app to allow easy access to your app's logs.
License MIT
Informations about the package laralog
https://laralog.app
This package is can be used in conjunction with https://laralog.app to enable free, simple and central remote viewing for Laravel logs.
The idea of this package is to provide a central interface where you can view your logs for all of your Laravel applications in an easy to read, responsive format.
It's not meant to replace services such as papertrail. https://laralog.app never stores log data, it accesses your log data (how much is up to you) over HTTP protocol and provides an interface to read, search and filter your Laravel logs for as many Laravel applications as you need.
Installation
Require laralogapp/laralog package and update your dependencies.
If you're using Laravel 5.4 and below you need to add the service provider to your providers array otherwise autodiscovery is used.
Publish the package's configuration
Configuration
[REQUIRED] - This is a shared secret between your application and https://laralog.app's interface. You need to set this to either a custom key or to the one generated when creating a new application at https://laralog.app.
-
The maximum log file size allowed
-
Truncate the log to the maximum file size if log exceeds the maximum file size, the data will be fetched from the end of the file (meaning the log data will be the most recent enteries).
- IPs allowed to access log data, by default this is empty, meaning all IPs can access data. But if you wish to limit the IPs which can access your data you can do so using this option. (Good to use if you're worried about the security of your tokens).
Notes
Laralog accesses your log data through the client, so your log data will never touch Laralog's server. The exception to this rule is for HTTP connections. HTTP connections are proxied through Laralog's server to prevent browsers throwing mixed content errors.
- Completely Free
- Supports Laravel 5.1+
- Connect with HTTP or HTTPS
- Limit who can view logs by whitelisting IPs
- Connect to local applications
Write your own interface
This package doesn't have to be used with https://laralog.app. Feel welcome to use this package's json endpoints to write your own front end to view and manage logs.
Endpoint
Example Successful Response - 200
size is in bytes
Endpoint
Parameters
- the basename of the log to fetch data for
Example Successful Response - 200
Note - each line of the stacktrace is separated by a new line.
All versions of laralog with dependencies
jalle19/php-whitelist-check Version ^1.0
asm89/stack-cors Version ^1.2