switchon@lavalamp.biz
+27(0) 83 419 4851 / +27(0) 21 036 1165
Application & software development
Get A Quote

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact
    how I like to use async await in js
    How I Like To Use Async Await In JS
    Jan 27, 2020
    from college to work
    From College To Work – A Web Developer’s Experience
    Feb 4, 2020

    Easily View Your Laravel Logs Using Laravel Log Viewer

    Categories
    • Software Development
    • Web Development
    Tags
    • composer
    • github
    • laravel
    • software development
    • web development
    easily view your laravel logs using laravel log viewer
    easily view your laravel logs using laravel log viewer

     

    If you’ve ever had a client or customer call you up and say “I got an error, the app doesn’t work!”, without any context, I’d imagine you’d feel frustrated. Or maybe they just ignore that error, and you never find a bug in your code. Without a log viewer, you’d have to ssh into your server to view the logs through a tool like Vim. It’s not ideal, and it’s difficult to read anything.

    So that’s where a log viewer comes in. The nice tool created by rap2hpoutre allows you to easily view your logs on the web. So here how to easily install it!

    1. Install it via composer:
    composer require rap2hpoutre/laravel-log-viewer

    2. add Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class into your config/app.php in the providers as such:

    'providers' => [
            ...
            /*
             * Package Service Providers...
             */
            Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class,
            
            ...
        ],
    

    3.Add a route in your web.php

    Route::get('admin/logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index');

    Since it’s a route, you can, of course, use middleware on it too!

    Route::get('admin/logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index')->middleware('middleware');

    Then go to http://myapp/admin/logs

    For more information, read the official git repository.

    Contact us


      Related posts:

      laravel livewireLaravel Livewire how to create and digitally sign a pdf using laravel and tcpdfHow To Create And Digitally Sign A PDF Using Laravel And TCPDF laravel observersLaravel Observers laravel envoyer and forgeProvisioning A New Digital Ocean Server With Laravel Forge, And Deploying Code With Laravel Envoyer
      Share
      20
      Hristo Mitev
      Hristo Mitev
      Hristo is a frontend developer with knowledge and experience in Laravel.

      Leave a Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Lava Lamp Lab


      Like technology, a lava lamp constantly changes form, producing new conditions with every passing moment



      lava lamp lab facebook   lava lamp lab twitter   lava lamp lab linkedin   lava lamp lab instgram

      Services


      Application & software development

      Outsourced software development

      Project based resourcing

      Digital marketing & consulting

      Graphic design & consulting

      UI / UX design & consulting

      Contact Us


      +27(0) 83 419 4851

      +27(0) 21 036 1165


      switchon@lavalamp.biz


      Unit 4 Monaco Square,
      14 Church Street,
      Durbanville,
      Cape Town, 7550

      NBConsult Group


      nbconsult
      nbconnect msp
      nbclearning
      river broadband
      designer needed
      © 2023 Lava Lamp Lab (Pty) Ltd | All Rights Reserved | Privacy Policy
      Contact us now

        Application & software development

          Outsourced software development

            Project based resourcing

              Digital marketing & consulting

                Graphic design & consulting

                  UI/UX design & consulting

                    Lease an expert

                      Recruitment services

                        We are using cookies to give you the best experience on our website.

                        You can find out more about which cookies we are using or switch them off in settings.

                        Lava Lamp Lab
                        Powered by  GDPR Cookie Compliance
                        Privacy Overview

                        This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

                        Strictly Necessary Cookies

                        Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

                        If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

                        3rd Party Cookies

                        This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

                        Keeping this cookie enabled helps us to improve our website.

                        Please enable Strictly Necessary Cookies first so that we can save your preferences!

                        Cookie Policy

                        More information about our Cookie Policy