Showing 10 of 1,085 results.

The Function | Laravel and Kint Debugging

Looking through the issue some more today, I decided to write a new modify one of Kint's functions to work really nice with Laravel. Add this function to some helpers file, or a file that is accessed throughout your application: 1 if ( !...

Laravel 5 Message Bags: Retrieving the First Message With first

…ll the first method will return the first message in the MessageBag instance. If there are no messages stored within the message bag, the first method will return an empty string. The first method also accepts a $format parameter, which allows...

An Introduction to Laravel Message Bags

The Illuminate\Suport\MessageBag class is an elaborate key/value storage system for storing different types of messages. It it also allows developers to specify a format which is used when returning the messages. The format makes it incredibly...

hasErrorOnLine | The Document Parser

Tests if an error matching the provided properties exists on a specific line. Argument Description $line The line to check. $type The error type to check for. $context The error context. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ ErrorType ;...

Laravel Artisan Route Command: The route:list Command

…table (shortcut to --reverse ). None --sort The column to sort by. Accepted values are host , method , uri , name, action or middleware . uri The following examples demonstrate the effects of the various different options. Filtering the routes by...

Filter Search