Coder Social home page Coder Social logo

Laravel integration about php-debugbar HOT 4 CLOSED

maximebf avatar maximebf commented on August 15, 2024
Laravel integration

from php-debugbar.

Comments (4)

maximebf avatar maximebf commented on August 15, 2024

The more collectors there is, the better!

However, it's pretty easy to collect Laravel log messages into the debug bar as it uses Monolog and DebugBar has a MonologCollector:

$debugbar->addCollector(new DebugBar\Bridge\MonologCollector(Log::getMonolog()));

Something which I would love to do in the near future is integrations with popular frameworks which do no ship with an equivalent tool. The goal would be to provide collectors but also automatic integration of the debug bar, no need to play with the JavascriptRenderer. (I already did that in my own framework: http://atomikframework.com)

from php-debugbar.

maximebf avatar maximebf commented on August 15, 2024

actually I will leave it open for the moment to remind me of doing the integrations stuff

from php-debugbar.

barryvdh avatar barryvdh commented on August 15, 2024

I did some experimenting with Laravel and the Debugbar: https://github.com/barryvdh/laravel-debugbar
I created some Collecters (not perfect yet), what whould the best place to be, in a seperate package (like mine) or should I make a PR to get them inside this package?

from php-debugbar.

maximebf avatar maximebf commented on August 15, 2024

This is great! I think it's best to leave full integrations with other frameworks out of the main repo nad have packages somthing-debugbar. I'll happily make a note in the README about your project though (I'll do it right now actually)

from php-debugbar.

Related Issues (20)

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.