Showing 10 of 1,204 results.

Resolving Variable Values | Introduction & Installation

…the following output: 1 name = " author " content = " John Doe " content_two = " $ author " content_three = " $ $ author " Attribute Renderer does not support more complicated variable paths, such as nested properties, or array indices. If you...

Laravel Artisan Queue Command: The queue:failed-table Command

The queue:failed-table command is used to create a new migration for the failed_jobs database table. This table is in order to keep track of any queue jobs that have failed. This command defines no parameters and can be used like so: 1 php artisan...

Laravel Array Helper Function: array_collapse

The collapse helper method accepts an array as its only parameter. The given $array can be a single array, or a nested array. The method will then return a new array with the contents of all the nested arrays. Arrays that are collapsed can contain...

Pascal Case | Laravel 5.5 String Helper Function: studly

…can also be used to generate Pascal Cased style strings. Both styles are the same as camel case with the first letter capitalized. Because the studly method does not affect the case of any letters after the first letter, we can arrive at output...

Laravel 5: The Translator's File Loader

…n into issues where language keys are not resolved from the JSON files when using dot notation. However, we can emulate the dot notation syntax that is used to retrieve nested translation strings from PHP-based files by providing the dot notation...

Filter Search