Showing 10 of 1,280 results.

Laravel: Implementing a CRYPT_STD_DES Hasher

In this article we will create an implementation of Illuminate\Contracts\Hashing\Hasher using PHP s crypt function and the CRYPT_STD_DES hashing function. Before we write the code for the CRYPT_STD_DES implementation, we will examine each method...

Laravel's Bcrypt Hasher

The Illuminate\Hashing\Bcrypt hasher is registered with the service container in the Illuminate\Hashing\HashServiceProvider service provider, and is bound to the name hash (the hash key in the service container is itself an alias for the...

Laravel: Implementing a CRYPT_EXT_DES Hasher

In this article we will create an implementation of Illuminate\Contracts\Hashing\Hasher using PHP's crypt function and the CRYPT_EXT_DES hashing function. Like in the previous section, we will examine each method before looking at the full...

Configuring Laravel Pint | Formatter Configuration and Usage

The Blade formatter is capable of using Laravel Pint to format PHP code inside your Blade directives, as well as in raw PHP blocks. You will need to have Laravel Pint available globally, or available within your project's vendor folder. 1 { 2 "...

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

…xists = $ translator -> has ( ' passwords.does_not_exist ' ) ; Line 11 in the above code examples could possible seem confusing at first. The method call returns true even though there is no es locale by default. The method call returns true...