title: Laravel 4: how can I understand how it all works?
body: <p>I am using Laravel 3 in one project and it's been a joy. I have also looked at the source code several times to see how some things work behind the scenes.</p>
  
  <p>But now in Laravel 4, I don't know where to begin or how to understand it all. Where can I learn all the behind the scenes of Laravel 4?</p>
  
  <p>Case in point: I wanted to find out if the <code>DB::insert()</code> returns the id of inserted row. So I started searching.
  1. I found the Illuminate\Support\Facades\Facade class that "encapsulates" DB.
  2. The resolveFacadeInstance function is called and then I tried to print these arrays, but my computer hangs :-/. And I'm sure this would lead to many more classes that I wouldn't understand.</p>
  
  <p>Is there a way I could try to learn the inner workings of Laravel 4? Maybe stack traces?</p>