Showing 10 of 2,044 results.

Prettier 3 Plugin | Formatting

An Antlers formatter is provided as a Prettier 3 plugin. You will need to install and configure Prettier separately from the Antlers Toolbox Visual Studio extension. To install and enable the Antlers plugin for Prettier 3 make sure to install...

Laravel Collection Public API: max

max($key = null) The max method can be used to retrieve the maximum value of the given $key . By default, the $key is null and will function in a similar way to PHP's max function. The following code example highlights the usage of max without...

Laravel: Implementing a MD5 Hasher

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

Examples of Specific Numbers | Laravel String Pluralization

The following table will show more examples of handling specific numbers when dealing with pluralization translation. The table will use the following translation message: 1 {0} There are no books! 2 |{1,2,3} You have one, two or three books. 3...