Showing 10 of 2,055 results.

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

Laravel: Implementing a CRYPT_SHA512 Hasher

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

Laravel Collection Public API: pull

pull($key, $default = null) The pull method will remove an item from the collection while returning its value. If the item is not in the collection, the optional $default value will be returned. The pull method will modify the original collection....

Laravel: Implementing a CRYPT_SHA256 Hasher

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