Showing 10 of 2,055 results.

Implementing a Customer Domain Specific Language Parser in PHP

…lter:one(value)|filter:two(value2)|filter:three(value3) In early versions of Meerkat's implementation of this language syntax, it was simply a wrapper around PHP's explode function, which it uses to split strings based on the pipe character. This...

Laravel 5 Collections: Adding Values to a Collection With union

The union method will add the $items value to a copy of the existing collection. If there are key collisions between the collection instance and the provided $items , the elements from the collection instance will be used instead. The union method...

Laravel Collection Public API: get

get($key, $default = null) The get method can be used to retrieve an item from the collection based of its $key . An optional $default argument can be passed that will be returned if the given $key does not exists in the collection. The $default...

Installation

…explore. Depending on your integration goals or use case, you may narrow your reading to a specific area. If you intend to: Validate or Perform Linting on a Single Document, : Reference the Document API documentation to learn about the validation...

Custom Renderers

Custom renderers allow you change how social media images are generated from HTML. Social Media Image Kit ships with a Browsershot renderer out of the box, if you landed on this page looking to change it's configuration you might consider the...

Example Use | Laravel 5: String Translation Public API

The following example demonstrates how to use the addLines method to add lines to the existing translator instance. We need to supply it a locale, but we will explore methods to do this dynamically based on the currently configured default locale....