Showing 10 of 2,133 results.

Laravel 5: Generating URLs to Assets With asset

The asset function will return a URI composed of the application's URI and the given $path . If $secure is true , the returned URI will have the https:// schema, otherwise it will have the http:// schema. The application URI used to generate the...

Ambiguous Character Sequences | Core Concepts

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 Output...

The "like" Filters

The like filters allow you to query comments using an SQL-like pattern.The like filter allows you to query a comment property and compare it with an SQL-like pattern. The following example queries checks the comment's content against the %panel%...

Contributing

The easiest way to get started contributing to the Antlers Language Server and Client are setting your environment up to run the various components. The extension is written in both PHP 7+ and TypeScript.

Laravel Artisan Tinker: The whereami Command

The whereami command can be used to approximate where you are currently executing code within your code base. Starting a fresh Tinker REPL session and issuing the whereami command produces these results: 1 >>> whereami 2 31| $kernel =...

Locale Alternate | Open Graph Metadata

The localeAlternate method queues multiple <meta property="og:locale:alternate" content=".."> tags. By default it will use the of the current entry. The logic for this is similar to the following example: 1 <?php 2 3 use Stillat \...