Coder Social home page Coder Social logo

laravel-logs-viewer's Introduction

Laravel Logs Viewer

This library provider an friendly interface to view and analyze the logs from Laravel.

alt text

Click here to see MORE screenshots!

Installation

composer require brunocouty/laravel-logs-viewer

In your config/app.php, add in "provider" array:

\BrunoCouty\LaravelViewLogs\LaravelLogsViewerServiceProvider::class,

And add in 'aliases' array:

'LaravelLogsViewer' => \BrunoCouty\LaravelViewLogs\LaravelLogsViewerFacade::class,

You need publish the assets (css and js files):

php artisan vendor:publish --tag=public

In your routes file, add:

LaravelLogsViewer::routes();

Note: If you want protected your route with a middleware or group, use something like:

Route::group(['prefix' => 'your-group', 'middleware' => 'auth'], function () {
    LaravelLogsViewer::routes();
});

Usage

To use this library, you need access the route "/logs" in your application.

http://127.0.0.1:8000/logs

// or

http://127.0.0.1:8000/your-group/logs

Customizing

To customize the view of this library, publish:

php artisan vendor:publish

Return:

Copied Directory [/modules/brunocouty/laravel-logs-viewer/src/resources/views] To [/resources/views]
Copied Directory [/modules/brunocouty/laravel-logs-viewer/src/resources/assets] To [/public/vendor/laravel-logs-viewer]

The view is in: "resources/views/logs".

The css and js files are in: "public/vendor/laravel-logs-viewer".


Like this content? Pay me a coffee!

Yeah! You like of this package? Pay me a coffee and help me to keep this package updated!

When you are my support, you have access to exclusive posts with a lot that cool things about PHP, Laravel, AngularJS, VueJS, Ionic, and much more! You will see haw create your own PHP Packages, resolve mistakes on your code... The great content!

Help me with only $1 / month and you will have access to my private content! And more, you need help to code your project? I can help you! Access my Patreon Profile, I can help you via e-mail or skype!

https://www.patreon.com/brunocouty

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.