Showing 10 of 2,133 results.

Additional Storage Methods | Laravel 5 Facades

The Storage facade defines a few extra helper methods, both are to help make testing filesystem components within your Laravel application easier. Both of these testing methods will replace the storage disk with a local storage disk; this means...

addValidator | Validating Blade

Registers a single node validator instance with the BladeValidator instance. Argument Description $validator The node validator instance. 1 <?php 2 3 use Stillat \ BladeParser \ Validation \ AbstractNodeValidator ; 4 use Stillat \ BladeParser \...

addDocumentValidator | Validating Blade

Registers a document validator with the BladeValidator instance. Argument Description $validator The validator instance. 1 <?php 2 3 use Stillat \ BladeParser \ Validation \ AbstractDocumentValidator ; 4 use Stillat \ BladeParser \ Validation \...

validateDocument | Validating Blade

Runs all registered document validators against the provided document. This method will not automatically run registered node validators against the document's nodes. Argument Description $document The document to validate. 1 <?php 2 3 use...

Laravel Application Helper: public_path

public_path($path = '') The public_path will return the path to the public directory. It can also be used to construct paths relative to the public directory if a $path is supplied. The following examples will assume that the Laravel application...

Getting Started | Integrating Meerkat

In this guide, we will be integrating Meerkat into the Cool Writings Statamic starter kit. To get a sense of what we are going to build, we are going to add a comment section the article page: We will start by modifying the...