Articles

Laravel 4: Be Careful With Your After Filters

Laravel Laravel 4 provides a convenient after filter. This filter will run after your routes and controllers have run. There are many awesome things you can do in the filter, such as logging, or checking various...

How Does PHP Work With The Web Server And Browser?

Servers Admittedly this post is less about the actual task of programming, and more about the behind-the-scenes workings of PHP's execution environment. Introduction PHP is a popular server-side language that is...

Laravel 4: Working With Checkboxes and Input

Laravel Inside of a Blade view, a checkbox can be created using the Form class: {{ Form::checkbox('my_checkbox', '1') }} In the above code sample, my_checkbox is the name of the input element and 1 is the value the...

Laravel: Calling Artisan Commands From Your Application

Laravel This little tip will show you how to run Artisan commands from within your applications code, if you need to. <?php Route::get('example', function() { // Call and Artisan command from within your...

Laravel 4: Default Events

Laravel Laravel 4 provides a few events that are fired throughout your applications life cycle. This should just serve as a quick reference if you need to find where an event is called or what events are...