Showing 10 of 2,055 results.

Laravel String Helper Function: slug

The slug helper method will format the given $title to resemble a URI slug. It does this through a series of steps: Convert the, $title, to ASCII formatting (using the, ascii, function);, Converts whitespace, dashes, underscores to the,...

Creating Our Own make() Method | Laravel Paginator Pretty URLs

…aginator instance. 5 * 6 * @param array $items 7 * @param int $total 8 * @param int | null $perPage 9 * @return \ PrettyPaginator 10 */ 11 public static function make ( array $ items , $ total , $ perPage = null ) 12 { 13 // This is just a static...

Laravel Helper Function: csrf_field

…owing HTML code can be greatly simplified using the function: 1 <! DOCTYPE html > 2 < html > 3 < head > 4 < title > CSRF Token Form Sample </ title > 5 </ head > 6 < body > 7 < form > 8 < input type = " hidden " name = " _token " 9 value = "...

Removing Existing Favicons | Favicon Configuration

…4 5 // ... 6 7 /* 8 |-------------------------------------------------------------------------- 9 | Remove Existing Images 10 |-------------------------------------------------------------------------- 11 | 12 | Determines whether existing...