Articles

Implementing C# Events

C# A common requirement when designing and implementing software is the ability to respond to certain code conditions, or at key points in an application's execution lifecycle. These conditions and lifecycle...

Creating a Custom Statamic 500 Server Error Page

Statamic An often overlooked aspect of creating a Statamic or Laravel application is customizing the 500 Server Error page. By default, a Statamic site will display an error page similar to this when a catastrophic...

Laravel 5 Collections Static API: Adding Methods to the Higher Order Message List With proxy

Laravel 5 The proxy static method is used to add additional methods to the list of methods that should be proxied for use with higher order messaging. These proxied methods allow for a cleaner syntax when invoking...

Laravel 5 Collections Static API: Creating a Collection By Invoking a Callback a Given Number of Times With times

Laravel 5 The times static method is similar to PHP's range function, with some extra functionality specific for collections. The times method accepts a $number argument as well as an optional $callback function. The...

Laravel 5 Collections Static API: Creating a New Collection Instance From Arrays Using make

Laravel 5 The make static method creates a new instance of a collection with the provided $items (assuming that the provided $items argument is not already a collection instance). Signature public static function make( ...