Showing 7 of 2,041 result(s)
In this article we will create an implementation of Illuminate\Contracts\Hashing\Hasher using PHP's crypt function and the CRYPT_SHA256 hashing function. Like in the previous sections, we will examine each method before looking at the full...
set(&$array, $key, $value) The set helper method is the logical opposite of the forget (discussed in the Laravel Array Helper Function: array_forget article) method. its purpose is to set values within an array. The set method also uses dot...
This article is part of a four part series all about Laravel facades. Each of the parts are listed below: Laravel Facades Part One: An Introduction to Facades, Laravel Facades Part Two: Using Facades, ., Laravel Facades Part Three: Creating Custom...
The retry helper function can be used to attempt an operation that is prone to throwing exceptions a set number of times. This helper function can also wait a certain number of milliseconds between attempts. If the operation specified in the...
Each comment author array ( author or internal_parent_author ) contains an array permissions containing all of the resolved permissions for the user. Anonymous authors will also have a permissions array, with all permissions set to false . The...
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 Illuminate\Support\Fluent class is a useful data type....
When developing commands that are required to be used on multiple systems it can be beneficial to your users if your commands respond to the operating environment. When it comes to how console commands interact with terminals it is only really...