Showing 10 of 2,055 results.

Laravel 5: Getting Specific Messages With get

The get method can be used to retrieve all the messages for a given $key with the specified $format . The $format is null by default, which will cause the get method to use the format stored within the MessageBag instance (which can be retrieved...

Available Methods | Querying Document Nodes

The following methods are also available on all NodeCollection instances, in addition to the following node types: Stillat\BladeParser\Nodes\Components\ComponentNode, Stillat\BladeParser\Nodes\DirectiveNode

findNodePattern | Querying Document Nodes

…pattern. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function findNodePattern ( 6 array $ pattern 7 ) : Collection ; Example Use 1 <?php 2 3 use Stillat \ BladeParser \ Document \ Document ; 4 use Stillat \ BladeParser \ Nodes...

Encrypting and Decrypting Within Laravel Applications

…ion scheme, right out of the box. Laravel also automatically signs all encrypted values with a message authentication code (MAC) so that any modifications to the encrypted data can be detected. Laravel internally accomplishes this through various...

Laravel String Helper Function: randomBytes

The randomBytes helper method is used to generate a string of bytes of the given $length . The results of the randomBytes are more random than the results of the random method. randomBytes requires the OpenSSL extension extension for PHP version 5...

Default Laravel Classes That Support Macros

The following Laravel classes allow for macros to be created by using the \Illuminate\Support\Traits\Macroable trait. There are, at the time of this writing, six classes that ship with direct support for macros: Class Description...