Laravel The lower helper method takes a given value and returns a lower cased variant. The signature for the lower helper function is: lower($value) use Illuminate\Support\Str; // all lower cased echo Str::lower('ALL...
Laravel The parseCallback helper method is a fairly simple method, even though it serves a somewhat specialized purpose. The following syntax for class names and method names can be found utilized throughout the...
Laravel The quickRandom helper method is similar to random in that it generates a random string to a given $length. The quickRandom helper method does not rely on the OpenSSL extension, and generates its random strings...
Laravel 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...
Laravel The randomBytes helper method is used to generate a string of bytes of the given $length. The results of the randomBytes are more random than the results of the random method. randomBytes requires the OpenSSL...