Showing 7 of 1,216 result(s)
Camel casing is similar to studly case such that each word starts with a capitalized letter, with the difference being the first character is lower cased. Like the studly method, the camel method will not affect the casing of the rest of the word.
The contains helper method will check if any of the $needles are in the given $haystack . If any of the given $needles are found in the $haystack , the method will return true , otherwise it returns false . $needles can be any value that can be...
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...
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...
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...
This method will convert the given $value to look like a traditional print title. This method essentially will transform the entire $value to its lower cased equivalent and then uppercase the first character of each word it finds. This method may...
The random helper method generates a random string of the specified $length . This method internally uses the OpenSSL function openssl_random_pseudo_bytes , and therefore requires the OpenSSL extension to be installed and configured .