darsain / laravel-console

In-browser console for Laravel PHP framework.
170 stars 44 forks source link

Refactoring the profiler, and add query log support. #6

Closed markwu closed 11 years ago

markwu commented 11 years ago

Hi Darsain:

There are two things I did in this pull request.

  1. I added a new class "ConsoleProfiler" to collect profileing data, including query log.
  2. I added the query result after output result, it is easier for me. I don't need to think about a new UI for it.

Enjoy.

Mark

darsain commented 11 years ago

I'm glad it does what you need, but I have a better UI implementation for queries in mind, so I won't be merging. But I'll shamelessly copypaste some of it :)

markwu commented 11 years ago

Hi Darsain:

Sure, just take what you need. My pleasure. :)

Mark