Search

Showing 7 of 1,216 result(s)

/blog/2016/11/16/special-cases-for-laravels-singular-pluralization-feature

Any words, or word endings, in the following table will not be affected by the singular method. This is either because the resulting word is already singular, or because there is no inflection available. Word endings are denoted by the prefix * :...

/blog/2016/11/29/an-introduction-to-laravels-collection-public-api

The Collection class exposes a generous public API, consisting of, at the time of this writing, 64 public methods. The Collection API exposes methods for retrieving values from a collection, transforming the underlying array, pagination and simple...

/blade-parser/v1/formatting-configuration#content-pint-temporary-directory

The Blade formatter will extract the relevant PHP from Blade templates and place them in a temporary file to supply to Laravel Pint. By default this directory is located at node_modules/prettier-plugin-blade/_temp . Temporary files are...

/blade-parser/v1/core-concepts#content-ambiguous-character-sequences

The first difference is in how the parser parses structures, such as a simple echo containing ambiguous characters: 1 {{ 'hello {{ world }} ' }} The previous example results in the following compiled output: 1 <?php 2   3 // Laravel Compiler...

/blade-parser/v1/documents

…er\Document\Document ; 4   5 $template = <<<' BLADE ' 6 Hello, {{ $world }} 7 BLADE ; 8   9 $document = Document :: fromText ($template); Document Static API An important thing to note about the Document static API is that internally it will use...

/blade-parser/v1/parser-errors

…paired correctly with an @endverbatim directive. Parser errors will not cause the parsing process to fail. Instead, parser errors are collected internally. We can retrieve them from a parser instance by calling the getErrors method, which returns...

/blade-parser/v1/parsing

…so possible to disable the parsing of all known core directives. The following demonstrates one of the simplest ways to use the parser: 1 <?php 2   3 use Stillat\BladeParser\Parser\DocumentParser ; 4   5 $template = <<<' BLADE ' 6 @if...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.