Showing 10 of 1,214 results.

Laravel 5: Generating URLs to Named Routes With route

The route helper function can be used to generate URLs to a given named route. The route function defines four parameters, but only three are used internally ( $name , $parameters and $absolute ). It acts a shortcut to calling the...

Modifying Compiler Behavior | Compiling Documents

However, there are times when it may be beneficial to change the behavior of the compiler. To do this, we can supply an instance of the Stillat\BladeParser\Document\DocumentCompilerOptions class, which will then be used internally to modify the...

Laravel Miscellaneous Helper Function: with

…xampleClass ) -> someMethod ( ) ; In the above example, $value would be contain the value some value .The same effect provided by the with function can be accomplished using vanilla PHP. The technique is to wrap object instantiation within a pair...

Integrating Laravel Spark, Stripe, and Statamic 3

Throughout this article we will create a fairly basic integration between Statamic 3 and the newly updated Laravel Spark . This guide will be using Spark's Stripe option, but if you want to use Paddle, the overall steps should not be too...

Scheduling Callbacks | Laravel Task Scheduler: An Introduction

…// Within the `App\Console\Kernel` class. 11 12 protected function schedule ( Schedule $ schedule ) 13 { 14 $ schedule -> call ( ' exampleFunction ' ) -> everyMinute ( ) ; 15 } 16 17 // ... The signature for the call method is call($callback,...

Filter Search