The blog - we've entered deep time.

Laravel 4: Rendering a View to a String

Oct 31, 2013

Laravel 4 provides a way to separate controllers and business logic from the presentation layer through its Views feature. Instead of outputting a view directly to the client, you can render it into a local variable. This is especially useful when you need to further process the view as a string, such as generating a PDF of the web page. Laravel 4's View::make()->render() method allows you to accomplish this.
Getting the Environment Name in Laravel 4

Oct 29, 2013

Learn how to use environments in Laravel 4 to develop your application in a way that responds to its running environment. Environments allow for automatic changes to database servers and cache drivers. Check the current environment in your code using the App::environment() method and perform different actions based on the result.
Passing Data to PHP Anonymous Functions

Oct 29, 2013

PHP version 5.3 introduced a new feature called anonymous functions, or lambda functions. They allow for greater flexibility and offer a clean, expressive ...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.