Showing 10 of 1,214 results.

Introducing Forte | Laracon, Blade and What's Next

All good projects need a great name, so I'd like to introduce you to Forte. From Merriam-Webster : the part of a sword or foil blade that is between the middle and the hilt and that is the strongest part of the blade A short, punchy word that is...

registerCustomComponentTagCompiler | Blade Compiler

…tom component tag compiler. This method will automatically register the provided tag name with the component tag compiler. Argument Description $tagName The custom component tag prefix. $compiler The compiler instance. 1 <?php 2 3 use Stillat \...

onAppend | Blade Compiler

…d after the compiler finishes compiling a node. The provided callback will be invoked each time the compiler has finished compiling a node, and it has been appended to the internal output buffer. The callback will receive an instance of...

setCompilationTarget | Blade Compiler

Sets the internal compilation target. Argument Description $compilationTarget The compilation target. 1 <?php 2 3 use Stillat \ BladeParser \ Compiler \ CompilationTarget ; 4 use Stillat \ BladeParser \ Compiler \ Compiler ; 5 6 public function...

Laravel Collection Public API: slice

…be an instance of Collection and would contain a value similar to the following output: 1 object(Illuminate\Support\Collection)[134] 2 protected 'items' => 3 array (size=5) 4 0 => int 4 5 1 => int 5 6 2 => int 6 7 3 => int 7 8 4 => int 8 The...

Calculating Averages Using Collections in Laravel

The avg method is a useful method for calculating the average of all items in the collection. The avg method defines an optional $key parameter, which can be used to specify what property of the collection should be averaged. If no key is...

Rebuilding Stillat.com

…on the project seriously (life and work gets busy after all) - that is some serious under estimating. This reminds me of something I first heard in a talk by Matt Stauffer ( Matt Stauffer - Sharing Laravel at Laracon EU 2014 ) in 2014; at the...