Showing 10 of 1,322 results.

GNU GENERAL PUBLIC LICENSE | License

Version 3, 29 June 2007 Copyright © 2007 Free Software Foundation, Inc. < https://fsf.org/ > Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

Compilation Targets

The compiler implementation supports the concept of "compilation targets." Compilation targets instruct the compiler to change its behavior depending on where the resulting PHP code is used. Currently, the following compilation targets are...

Laravel 4: Be Careful With Your After Filters

…code. It would work just fine. But imagine for a minute that the original content was View . And let's pretend that some coder had placed a function call or a query inside their view, instead of just displaying the value from something inside a...

Specifying Bard or Replicator Sets | Template IDE Hints

If you are dynamically loading a partial based on a set type (such as when creating templates for a Bard or Replicator field), you can specify which set within the corresponding blueprint applies to a file by using the special @set directive: 1...

An Introduction To Laravel Collections

…evelopers. The Collection class also implements PHP's ArrayAccess interface so that developers can use PHP's array syntax when working with collections: 1 <?php 2 3 // Creating a new collection instance. 4 $ collection = new Collection ; 5 6 //...

Laravel 5 Macros: Public API

The following sections discuss the various methods that become available when utilizing the Macroable trait; there are not that many of them, but that does not detract from the fact that the Macroable trait is incredibly useful.The following...

HTML Rendering Setup | Introduction & Installation

…you will also need to ensure that Puppeteer is installed and configured on your system. For more information on how to do this, please consult the Browsershot documentation at https://spatie.be/docs/browsershot/v2/requirements . Each environment...

Creating a Content Reaction System with Statamic 3 and Antlers

Throughout this article we will explore creating a system that will allow site visitors to leave "reactions" on Statamic 3 entries. Once complete, users will be able to add the following reactions to entries: 👍 Like, 😍 Love, 😯 Surprised, 🤔...