Search

Showing 7 of 1,216 result(s)

/blog/2016/11/20/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...

/blog/2016/11/20/laravel-helper-function-config

config($key = null, $default = null) The config helper function is a versatile function. If the supplied $key and $default value are both null, such as in the following method call: the return value will be, by default, an instance of...

/blog/2016/11/20/laravel-helper-function-csrf_field

csrf_field() The csrf_field function can be used to generate a hidden HTML element containing the value of the CSRF token. For example, the following HTML code can be greatly simplified using the function: can be simplified to just: or with Blade...

/blog/2016/11/20/laravel-helper-function-csrf_token

csrf_token() The csrf_token (cross-site request forgery token) function is a shortcut for retrieving the CSRF token from the session storage. The following is an example of what the csrf_token function may output: CSRF Token The CSRF token is...

/blog/2016/11/20/laravel-helper-function-decrypt

decrypt($value) The decrypt helper function can be used to decrypt a given $value . The function resolves the configured Illuminate\Contracts\Encryption\Encrypter implementation from the Service Container and then calls the decrypt method on the...

/blog/2016/11/20/laravel-helper-function-encrypt

encrypt($value) The encrypt helper function can be used to encrypt a given $value . The function resolves the configured Illuminate\Contracts\Encryption\Encrypter implementation from the Service Container and then calls the encrypt method on the...

/blog/2016/11/20/laravel-helper-function-env

env($key, $default = null) The env function can be used to get an environment variables value. If an environment value with the given $key exists, its value will be returned. If the given $key does not exist, the $default value will be returned...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.