Showing 10 of 2,133 results.

VS Code Prettier Troubleshooting | Prettier Plugin Installation

Suppose you are using the Prettier VS Code extension and are encountering an error stating something similar to "There are no formatters for Blade files." In that case, you may need to update your VS Code configuration and inform Prettier about...

Core Concepts

The heart of the Blade Parser library is its Document Parser. This parser is responsible for reading through a Blade template and extracting information from it. It accomplishes this by looking for Blade constructs, such as directives, comments,...

Project GitHub Settings

Each version within a Tidal project allows you to configure the following GitHub settings: GitHub Repository, : The link to the version's GitHub repository. At the moment this field is entirely informational, but can be used to customize your own...

Getting Kint to Work With Laravel 4.1

…eir website has to say: Kint for PHP is a tool designed to present your debugging data in the absolutely best way possible. http://raveren.github.io/kint/ Essentially what it does is takes PHP's output from the var_dump() and debug_backtrace()...

Ignoring Parts of a Template | Formatter Configuration and Usage

Entire sections of a Blade template can be ignored by surrounding it with two special comments: 1 < div > 2 {{-- format-ignore-start --}} 3 The template code inside this section will be ignored when formatting. 4 {{-- format-ignore-end --}} 5 </...

Laravel Artisan Generator Command: The make:policy Command

…ommand is used to generate to policy classes. It requires a name to be provided; this name will be used as the file name as well as the newly generated class name. Policy classes are stored within the app/Policies directory. The following example...

Example Use | Laravel 5: String Translation Public API

The following example will demonstrate how to call the parseKey method to return information about the translation key: 1 $ parts = $ translator -> parseKey ( ' passwords.reset ' ) ; After the above code has executed, the $parts array would...