Showing 10 of 2,055 results.

Registering Custom Validators | Validating Blade

…nitialized as singleton objects and have specific requirements for configuration. Instead, suppose you want to ensure custom validator implementations are available on every BladeValidator instance created. In that case, you can use the resolving...

Blade Compiler

The Blade Parser library provides an independent Blade compiler implementation. This implementation is provided to help facilitate testing of the library itself, as well as to provide a convenient way to implement more advanced validation systems...

setFailOnParserErrors | Blade Compiler

Sets whether the compiler should fail on parser errors. When set to true, the compiler will throw an instance of Stillat\BladeParser\Errors\Exceptions\CompilationException whenever it encounters a parser error. Argument Description...

The Laravel Framework Console Kernel

The console kernel exposes many different public methods. This article will not cover all of the public methods available, but only the most useful ones.

The Document Parser

The Document Parser is responsible for parsing Blade templates. By default, it supports all directives supported by the library's compiler. Any custom directive names need to be registered with the parser instance. It is also possible to disable...

Laravel MessageBag Public API: keys

The keys method is used to retrieve all of keys stored inside the MessageBag instance. The following code example demonstrate the usage of the keys method: 1 <?php 2 3 use Illuminate \ Support \ MessageBag ; 4 5 // Create a new MessageBag...

Laravel 5.5 String Helper Function: ascii

The ascii helper method accepts only one argument: $value . $value should always be a string, or something that can be cast into a string. The function converts a string in the UTF-8 encoding into its ASCII equivalent. This method is useful when...