Search

Showing 7 of 1,216 result(s)

/blog/2016/11/16/laravel-string-helper-function-ucfirst

…he ucfirst helper method is used to uppercase the first letter of a string. It defines only one parameter— $string —which is the string that should have its first letter upper cased. This helper method differs from PHP's ucfirst function because...

/blog/2016/11/18/laravel-array-helper-function-array_only

The only helper method is the logical opposite of the except (discussed in the article Laravel Array Helper Function: array_except ) method. The signature for the only helper method is: only($array, $keys) Assuming that the $_POST super-global...

/blog/2016/11/19/laravel-array-helper-function-array_last

last($array, callable $callback = null, $default = null) The last helper method is the logical opposite of the first (discussed in the article Laravel Array Helper Function: array_first method. The difference is that the last function will return...

/blog/2016/11/19/laravel-array-helper-function-array_pull

pull(&$array, $key, $default = null) The pull helper method is similar to the get (covered in the Laravel Array Helper Function: array_get article) method in that it will return a value for the given $key in the $array (or the $default , if it is...

/blog/2016/11/19/laravel-array-helper-function-array_set

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...

/blog/2016/11/20/laravel-application-helper-function-request

…n $key ). The following examples are identical in their end result: Using the request helper function, we can access only a subset of the user's input data: Receiving a subset of data can also be accomplished using the shorthand syntax introduced...

/blog/2016/11/20/laravel-application-helper-function-view

…ory ) or an implementation instance of Illuminate\Contracts\View\View (which by default would be an instance of Illuminate\View\View ). The examples in this section will make use of the default welcome.blade.php example view file that ships with...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.