Showing 10 of 1,214 results.

11. Patents. | License

…non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following...

Laravel Collection Public API: where

…e = null) The where method allows developers to filter a collection given a key value pair. It filters the collection's items by checking that the given $key has some value equal to the provided $value . An argument can be supplied for the...

The Base Node | Parser Nodes Overview

All nodes within the library ultimately extend the Stillat\BladeParser\Nodes\BaseNode class. This class provides information that is useful to all node types, such as the following: index, : A node's index identifies its position within the source...

Laravel: Implementing a CRYPT_SHA256 Hasher

…he prefix expected by the crypt function. 16 * 17 * @var string 18 */ 19 protected $ shaPrefix = ' 5 ' ; 20 21 /** 22 * Default number of rounds. 23 * 24 * @var int 25 */ 26 protected $ rounds = 5000 ; 27 28 /** 29 * Hash the given value. 30 * 31...

HTML Fragments

The Blade Parser library supports the concept of "HTML fragments," or the parsing of invalid HTML documents. This feature exists to help provide additional context to the parsed Blade constructs, such as where they appear within a document. The...

Creating Our Own make() Method | Laravel Paginator Pretty URLs

We are going to need to resolve some things out of the IoC, so make sure to use the Illuminate\Support\Facades\App facade. In our PrettyPaginator class, add the following function: 1 ... 2 3 /** 4 * Get a new pretty paginator instance. 5 * 6 *...

Front-end Asset Queues

…ides a simple, yet powerful asset management queue system to help manage various style and script assets that are not included in the site's main builds. For example, in a page builder setup, we might want to include a JavaScript file to enable...