Showing 10 of 1,090 results.

Multiple Pagination Instances | Responses and Replies

In the previous section, you may have noticed that the examples and descriptions were careful to mention that some values apply to the "current instance". This is because Meerkat allows you to have multiple threads on a single page, and if they...

Laravel 5: Conditionally Retrieving Array Values With where

The where helper method is functionally similar to the pluck method, in that both take a source $array and filter it to produce a smaller array. It works by iterating over each element in the $array and executing the $callback on each key value...

Laravel Collection Public API: collapse

…ems ' => 3 array ( size = 10 ) 4 0 => int 0 5 1 => int 1 6 2 => int 2 7 3 => int 3 8 4 => int 4 9 5 => int 5 10 6 => int 6 11 7 => int 7 12 8 => int 8 13 9 => int 9 The collapse method internally calls the Illuminate\Support\Arr::collapse($array)...

HTML Rendering Setup | Introduction & Installation

…Browsershot documentation at https://spatie.be/docs/browsershot/v2/requirements . Each environment is different and may pose its own unique challenges when installing or configuring Puppeteer. Because of the high degree of variability, if you are...

Generating Image | Events

The GeneratingImage event is fired right before a social media image kit generates an image. The event object will have the following properties: $entry, : The entry the image will be generated for., $size, : The details from the configuration...

Image Generated | Events

The ImageGenerated event is fired right after a social media image has been generated. The event object will have the following properties: $entry, : The entry the image will be generated for., $size, : The details from the configuration file for...

Generation Failed | Events

The GenerationFailed event is fired if the image generation process failed for any reason. The event object will have the following properties: $entry, : The entry the image will be generated for., $size, : The details from the configuration file...

Laravel MessageBag Public API: jsonSerialize

The jsonSeralize method internally returns the value of the toArray method. This method exists to implement PHP's JsonSerializable interface, which allows developers to customize how a class is represented when using the json_encode function. 1...

Laravel 5: Generating URLs to Controller Actions With action

The action helper function can be used to generate a URL to a controller action, which is supplied as an argument to the $name parameter. If the controller action requires or accepts parameters these can be supplied by utilizing the $parameters...

Filter Search