Showing 10 of 1,204 results.

Calculating Averages Using Collections in Laravel

The avg method is a useful method for calculating the average of all items in the collection. The avg method defines an optional $key parameter, which can be used to specify what property of the collection should be averaged. If no key is...

Rebuilding Stillat.com

…on the project seriously (life and work gets busy after all) - that is some serious under estimating. This reminds me of something I first heard in a talk by Matt Stauffer ( Matt Stauffer - Sharing Laravel at Laracon EU 2014 ) in 2014; at the...

Creating a Custom Statamic 500 Server Error Page: Part Two

…the handling of error responses. Laravel provides extensive options and methods for customizing the reporting and rendering of exceptions, all of which are powerful in their own right. However, we will make use of a few different features to...

Editing Large Files on Windows

I haven't had much of a chance to publish any articles or tutorials lately (I do have some awesome ones planned and in the furnace, though!). For this post I'd like to make note of the newest text editor to join my arsenal (Sublime Text and PHP...

BillingContent | The Statamic Add-on Roundup

The BillingContent add-on acts as a content delivery API for a customized Laravel Spark installation. The Laravel Spark installation uses many of the same assets as the Statamic site; this API delivers content to the Spark application so that I do...

Laravel Collection Public API: avg

avg($key = null) The avg method is a useful method for calculating the average of all items in the collection. The avg method defines an optional $key parameter, which can be used to specify what property of the collection should be averaged. If...

Filter Search