Showing 10 of 2,055 results.

0. Definitions. | License

…resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. A “covered work” means either the unmodified Program or a work based on the Program. To “propagate” a work means to do anything with it that,...

Laravel Array Helper Function: array_pluck

pluck($array, $value, $key = null) The pluck helper method is used to retrieve a list of specific values from a given $array . It is most useful when used against arrays of objects, but will also work with arrays just as well. Let's use the...

Laravel 5.5 String Helper Method: kebab

The snake helper method replaces all uppercase letters within the string with the lower cased variant prefixed with the - character. The only exception to this rule is that if the first character of the string is capitalized, it will be replaced...

Laravel URL Helper Function: elixir

elixir($file, $buildDirectory = 'build') The elixir helper function can be used to get the path to a versioned Elixir file. The function accepts two arguments, the name of the $file to find the path for and the $buildDirectory to look in. By...

Laravel 5.5 String Helper Method: snake

The snake helper method replaces all uppercase letters within the string with the lower cased variant prefixed with the given $delimiter . The only exception to this rule is that if the first character of the string is capitalized, it will be...

Command --collection Option | Generating Images

The generate-images command supports a --collection option that may be useful if you need to run the command from another command or other automation script. When this option is set it will not prompt for any input. To process images for all...

Handling Specific Numbers | Laravel 5: String Pluralization Syntax

Sometimes it is useful to associate a given message number with exactly one number. In previous examples, we've seen how to handle the pluralization case where the number of items is exactly 0 , however, we can expand this idea to any arbitrary...