Showing 10 of 2,145 results.

Document Structures

While there are many Blade directive "pairs," such as the conditions, stacks, and related, Blade is inherently a structureless templating language. However, the Blade Parser library can make sense of structures within a Blade template to help tool...

has($key, $locale = null) | The Laravel Translator

The has method determines if a translation exists. It accepts a $key , which corresponds to an array key within the translation group file, i.e., user . The method also accepts a $locale , which can be used to determine if a given key exists for a...

Laravel Artisan Tinker: The trace Command

The trace command can be used to show the current call stack. By default, it shows the last 10 lines of the call stack, but this can be configured using the -n option: 1 >>> trace 2 0: Illuminate\Foundation\Console\TinkerCommand->fire() at...

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...