Showing 10 of 1,278 results.

Laravel Fluent Part Two: The Public API

This article is part of a two part series covering the Laravel Fluent API. The articles in this series are: Laravel Fluent Part One: Introduction, Laravel Fluent Part Two: The Public API The following sections will highlight the usage of the...

Laravel Application Helper: abort_unless

abort_unless($boolean, $code, $message = '', array $headers) The abort_unless helper is the logical opposite of the abort_if helper function. Like abort (discussed in the Laravel Application Function: abort article) and abort_if (discussed in the...

Laravel Collection Public API: lists

…mple will demonstrate the usage of the lists method to retrieve a collection of the product names and versions: 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 // Create a new collection. 6 $ collection = new Collection ( [ 7 [ ' name '...

Laravel Collection Public API: min

…in the value 0 . The following code example shows how to use the min function when specifying a $key : 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 // Create a new collection instance. 6 $ collection = new Collection ( [ 7 [ ' name '...

Filter Search