Showing 10 of 1,278 results.

Laravel Helper Function: bcrypt

bcrypt($value, $options = []) The bcrypt function will return a hashed representation of the given $value . The bcrypt function also accepts an array of $options which can be used to affect how the hash is computed. Each invocation of the bcrypt...

Laravel Array Helper Function: array_sort

sort($array, callable $callback) The sort helper method will allow you to sort the given $array based on some condition returned by the $callback . The method works by iterating over all the values in the $array and passing the values it finds...

Laravel Application Helper Function: dispatch

dispatch($command) The dispatch helper function can be used to push a new job onto the job queue (or dispatch the job). The function resolves the configured Illuminate\Contracts\Bus\Dispatcher implementation from the Service Container and then...

Laravel Artisan Generator Command: The make:event Command

The make:event command is used to generate a new event class. The command requires a name parameter to be supplied, which will be the name of the new class. The generated classes by default will extend the App\Events\Event class (the actual...

Laravel 5 String Helpers: Generating Random Strings

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 .

Filter Search