Showing 10 of 1,085 results.

Announcement: All Of the Laravel Articles Are Free

…stom Markdown renderer was created just for this site allowing for the use of LeanPub information blocks! Not only was the friction of converting the book into a blog posts becoming too much, I started to shift my focus into creating projects for...

Laravel String Helper Functions

String operations in PHP often seem complicated to developers coming to the language from other language, specifically languages that have a robust object-oriented approach to the provided data types. Operations such as checking if a particular...

Laravel String Helper Function: finish

The finish helper method will make sure that a given $value always ends with exactly one occurrence of the $cap . This helper method is incredibly useful when construction URIs or file paths. The $cap can be any string of characters, and does not...

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 Array Helper Function: array_forget

forget(&$array, $keys) The forget helper method removes items from the given $array . The specified keys are express in dot notation.This function affects the original $array . Assuming an array is defined as follows: 1 <?php 2 3 use Illuminate \...

Laravel Application Helper: abort_if

abort_if($boolean, $code, $message = '', array $headers) The abort_if helper function performs the same basic function as the abort helper function (discussed in the Laravel Application Helper: abort article). The only difference is that the...

Laravel String Helper Function: str_plural

The plural helper method will attempt to return a plural version of the given $value . It does this through a series of specialized internal functions, that will not be covered in great detail here. This helper method will apply general rules to...

Filter Search