Showing 10 of 2,133 results.

Laravel Helper Function: encrypt

encrypt($value) The encrypt helper function can be used to encrypt a given $value . The function resolves the configured Illuminate\Contracts\Encryption\Encrypter implementation from the Service Container and then calls the encrypt method on the...

findNodePattern | Querying Document Nodes

Locates all instances of the provided node pattern within the document. Pattern searches exclude instances of LiteralNode . Argument Description $pattern The desired pattern. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function...

Troubleshooting

The most common issue to encounter when attempting to generate favicons is the lack of the ImageMagick PHP extension when using the default ImageMagick driver. If you've installed the required PHP extension and receiving errors like unable to open...

Empty Condition Expressions | The Validate Command

Class : EmptyConditionValidator The empty condition expressions validator emits a validation error when conditional directives do not contain an expression. The following template: 1 @if 2 3 @else 4 5 @endif will emit the following validation...

Laravel 5: Get the Current Date With today

The today helper function is similar to the now helper function in that it returns a Carbon for the current date, however, the difference is that the today helper function only returns the date component; the time component is set to 00:00:00 ....

Search Results Tag

Documentation Search provides a {{ documentation:results }} Antlers tag, which behaves similarly to Statamic's search tag . The documentation results tag adds the following capabilities to Statamic's default search tag: Related search results can...

Installing Dependencies | Contributing

Once your environment has the required software and tools available, we must download the source code for both the Visual Studio Code extension and the language server. To do this, either clone or download the...