Showing 10 of 1,280 results.

Example Use | Laravel 5: Hashing Strings With bcrypt

The following example demonstrates how to call the bcrypt function: 1 for ( $ i = 0 ; $ i < 10 ; $ i ++ ) 2 { 3 // echo the hash and an HTML line break 4 echo bcrypt ( ' test ' ) , ' <br> ' ; 5 } The above example would output something similar to...

Example Use | Laravel 5: Ensuring a Value is an Array With wrap

In the introduction of this section, we saw this example code: 1 function checkDomains ( $ domains ) { 2 if ( ! is_array ( $ domains ) ) { 3 $ domains = ( array ) $ domains ; 4 } 5 6 foreach ( $ domains as $ domain ) { 7 // Perform some operation...

Part Two: Creating a Custom Pagination View in Laravel

This is part two of two in a series of posts on how to create a custom pagination view in Laravel. Before reading this part, it is highly recommended that your first read Part One: Creating a Custom Pagination View in Laravel of this series. In...

Filter Search