Showing 10 of 1,322 results.

Laravel's Bcrypt Hasher

…e. 4 $ hasher = app ( ' hash ' ) ; The Bcrypt hasher is also used by the bcrypt application helper function. It actually uses the above method to resolve the Bcrypt hasher from the service container. This means that any other service provider...

setRounds($rounds) | Laravel's Bcrypt Hasher

The setRounds method is simple way to control how many rounds, or iterations the make method will use when calculating the final hash. An argument passed to $rounds must be a positive integer between 4 and 31 (including both 4 and 31 ). If an...

Laravel String Helper Function: title

This method will convert the given $value to look like a traditional print title. This method essentially will transform the entire $value to its lower cased equivalent and then uppercase the first character of each word it finds. This method may...

Introduction | How Does PHP Work With The Web Server And Browser?

…ications. Some of the largest companies and organizations from around the world utilize PHP for their operations (some of them you probably use every single day). A large amount of web sites and applications are powered by PHP; therefore an...

Locale | Open Graph Metadata

The locale method queues a <meta property="og:locale" content="..."> tag. By default it will use the locale of the current site. This behavior can be modified by supplying a custom variable name or callback function. 1 <?php 2 3 use Stillat \...

Laravel 5: Getting the Last Element of an Array With last

The last function is the logical opposite of the head function: it will return the last element of an array without modifying the array. The last helper function is a wrapper around PHP's end function.The signature of the last function is: 1...

Filter Search