These components have zero dependencies. They all require PHP > 5.3.3, but they can be integrated into projects without pulling in surprise dependencies. Some of them might not be terribly useful without a good binding component (e.g., DomCrawler and CSSSelector work best when using BrowserKit).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<div> | |
{# Split the post into an array using explode(). | |
Because we provide a length of 2, the remainder | |
of the post will be stored in the second array | |
element, even if there are multiple breakpoints. #} | |
{% set break_array = | |
post.blocks.content|split('<!-- break -->', 2) %} | |
{# Output the first element of the array in raw mode #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s = { | |
id = "3E89CB4C-C61A-4F25-B40C-37824BF89EA4", | |
internalName = "Night.", | |
title = "Night.", | |
type = "Develop", | |
value = { | |
settings = { | |
AutoLateralCA = 0, | |
Blacks2012 = 0, | |
BlueHue = 0, |
NewerOlder