Articles

Laravel 4: Rendering a View to a String

Laravel Laravel 4 offers Views, a way to separate your applications controllers and business logic from your presentation layer. Sometimes, it can be useful to render the view into...

Getting the Environment Name in Laravel 4

Laravel Environments in Laravel 4 are a great way to develop your application and have it respond to the environment it is running in. For example, most applications have two...

Passing Data to PHP Anonymous Functions

PHP PHP version 5.3 introduced a new feature called anonymous functions, or lambda functions. You may have come across them in other languages such as C# or Ruby. They allow...