Download the PHP package label84/laravel-logviewer without Composer

On this page you can find all versions of the php package label84/laravel-logviewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-logviewer

[!WARNING]

This package is no longer maintained.

We have decided to stop maintaining this package. We don't use this package anymore and don't have the time to maintain this package.

Feel free to fork our code and adapt it to your needs.

Laravel LogViewer

Latest Stable Version Total Downloads GitHub Workflow Status

LogViewer enables you to view and filter your Laravel logs in the browser.

Laravel Support

Version Release
10.x ^3.0
9.x ^3.0
8.x ^2.1

Installation

1. Require package

Add the package to your application.

You can also manually update your composer.json.

2. Publish config file

Add the config file to your application.

2.1 Publish the views (optional)

To change the default views, you can publish the views to your application.

Usage

Visit the following url in your application: /admin/logviewer

You can change the url in the config file.

Query filters

You can filter the logs in the overview with query parameters - example /admin/logviewer?date=today&message=kiss.

Parameter Value Example
level= string DEBUG
date= Carbon today
from= Carbon yesterday
till= Carbon 2021-01-01
logger= string local
message= string love

Settings

To use the package in your own Controllers you can use the following settings. If you use the default package features and views you probably won't need this.

1. Set channel

To dynamically set the channel:

2. Set path

To dynamically set the path:

3. Set file

To dynamically set the file:

4. Available methods

The LogViewerCollection extends Illuminate\Support\Collection with the following methods:

Examples

Example 1

List all logs.

Example 2

List all logs created today with a minimum level of ERROR.

Example 3

List all logs with a minium level of DEBUG that contains the words 'Foo' and/or 'Bar'.

Levels

Level
Emergency 600
Alert 550
Critical 500
Error 400
Warning 300
Notice 250
Info 200
Debug 100

Tests

License

MIT


All versions of laravel-logviewer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/routing Version ^8.0|^9.0
illuminate/support Version ^8.0|^9.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package label84/laravel-logviewer contains the following files

Loading the files please wait ....