verbb/base
Common utilities and building-blocks for Verbb plugins for Craft CMS.
3.0.14
2.5M downloads/mo
#3027 most downloaded on Packagist
verbb/verbb-base
What this package is like to depend on
Last release 9 days ago
14 Aug 2026
Ships unpredictably
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 34 of 34 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
40 releases · first in 2020
8 releases in the last 12 months
see the full history below
Release timeline
40 releases · Jan 2020 to Aug 2026Releases
latest 40-
3.0.1414 Aug 2026Release notes
Open source →Changed
- Twig sandbox now allows methods/properties on safe Craft value objects by class family (
ElementInterface,ElementQueryInterface,ElementCollection,DateTimeInterface, IlluminateEnumerable), instead of requiring plugins to whitelist every method name. - Added
allowedClassessupport toSecurityPolicy/Templates(merged with the defaults above). - Honour Craft’s
#[AllowedInSandbox]attributes when present.
Fixed
- Fixed legitimate element-query usage in sandboxed templates (e.g.
{{ fieldHandle.one().title }}) being blocked after the 3.0.10 allow-list enforcement.
Release notes
Open source →Changed
- Twig sandbox now allows methods/properties on safe Craft value objects by class family (
ElementInterface,ElementQueryInterface,ElementCollection,DateTimeInterface, IlluminateEnumerable), instead of requiring plugins to whitelist every method name. - Added
allowedClassessupport toSecurityPolicy/Templates(merged with the defaults above). - Honour Craft’s
#[AllowedInSandbox]attributes when present.
Fixed
- Fixed legitimate element-query usage in sandboxed templates (e.g.
{{ fieldHandle.one().title }}) being blocked after the 3.0.10 allow-list enforcement.
- Twig sandbox now allows methods/properties on safe Craft value objects by class family (
-
3.0.1305 Aug 2026Release notes
Open source →Fixed
- Fixed object templates escaping HTML variables, outputting them as plain text. Craft 5.10.13 no longer normalises shorthand tags (
{someVar}) with therawfilter, relying on the escaper strategy being disabled while rendering instead. - Aligned
renderString()with Craft’s default of not auto-escaping HTML (optional$escapeHtmlflag to opt in).
Release notes
Open source →Fixed
- Fixed object templates escaping HTML variables, outputting them as plain text. Craft 5.10.13 no longer normalises shorthand tags (
{someVar}) with therawfilter, relying on the escaper strategy being disabled while rendering instead. - Aligned
renderString()with Craft’s default of not auto-escaping HTML (optional$escapeHtmlflag to opt in).
- Fixed object templates escaping HTML variables, outputting them as plain text. Craft 5.10.13 no longer normalises shorthand tags (
-
3.0.1226 May 2026 -
3.0.1118 May 2026 -
3.0.1010 May 2026Release notes
Open source →Fixed
- Enforce Twig sandbox method/property allow-lists in SecurityPolicy.
Release notes
Open source →Fixed
- Enforce Twig sandbox method/property allow-lists in SecurityPolicy.
-
3.0.917 Jun 2025Release notes
Open source →Added
- Add
CachedElementQueryclass for some plugins and element query caching.
Release notes
Open source →Added
- Add
CachedElementQueryclass for some plugins and element query caching.
- Add
-
3.0.816 Apr 2025Release notes
Open source →Added
- Add plugin settings and general layouts for easier consistency in plugins.
Release notes
Open source →Added
- Add plugin settings and general layouts for easier consistency in plugins.
-
3.0.711 Apr 2025 -
3.0.602 Apr 2025Release notes
Open source →Fixed
- Fix an error when calling
self::$pluginfor modules or plugins that don’t define this property.
- Fix an error when calling
-
3.0.513 Nov 2024 -
3.0.413 Sep 2024Release notes
Open source →Added
- Add
proxyFieldmacro to simplify translating field instructions with variables. - Add Locale-switching helper function to assist with rendering strings in a given language or locale.
- Add
-
3.0.310 Jun 2024 -
3.0.218 May 2024Release notes
Open source →Added
- Add support for Closure module and add
collectto allowed Twig functions.
Fixed
- Fix an error when parsing templates.
- Add support for Closure module and add
-
3.0.117 May 2024Release notes
Open source →Added
- Add
GlobalsExtensionandStringLoaderExtensionto template parser.
Changed
- Loosen template security policy to allow methods and properties.
- Add
-
3.0.010 May 2024Release notes
Open source →Added
- Add support for Craft and plugin Twig extensions in allowed Twig.
- Add
ArrayHelper::filterNullFalse().
Changed
- Now requires PHP
8.2.0+. - Now requires Craft
5.0.0+.
-
3.0.0-beta.312 Apr 2024 pre-releaseNothing published for this version
-
3.0.0-beta.229 Mar 2024 pre-releaseNothing published for this version
-
3.0.0-beta.104 Mar 2024 pre-releaseNothing published for this version
-
2.0.1314 Aug 2026Release notes
Open source →Changed
- Twig sandbox now allows methods/properties on safe Craft value objects by class family (
ElementInterface,ElementQueryInterface,ElementCollectionwhen available,DateTimeInterface, IlluminateEnumerable), instead of requiring plugins to whitelist every method name. - Added
allowedClassessupport toSecurityPolicy/Templates(merged with the defaults above). - Honour Craft’s
#[AllowedInSandbox]attributes when present (Craft 4.17+).
Fixed
- Fixed legitimate element-query usage in sandboxed templates (e.g.
{{ fieldHandle.one().title }}) being blocked after the 2.0.11 allow-list enforcement.
- Twig sandbox now allows methods/properties on safe Craft value objects by class family (
-
2.0.1218 May 2026 -
2.0.1110 May 2026Release notes
Open source →Fixed
- Enforce Twig sandbox method/property allow-lists in SecurityPolicy.
-
2.0.1013 Nov 2024 -
2.0.913 Sep 2024Release notes
Open source →Added
- Add
proxyFieldmacro to simplify translating field instructions with variables.
- Add
-
2.0.810 Jun 2024 -
2.0.718 May 2024Release notes
Open source →Added
- Add support for Closure module and add
collectto allowed Twig functions.
Fixed
- Fix an error when parsing templates.
- Add support for Closure module and add
-
2.0.617 May 2024Release notes
Open source →Added
- Add
GlobalsExtensionandStringLoaderExtensionto template parser.
Changed
- Loosen template security policy to allow methods and properties.
- Add
-
2.0.513 Mar 2024 -
2.0.403 Mar 2024Release notes
Open source →Added
- Add Templates service for easy cut-down, safe Twig string rendering.
-
2.0.319 Sep 2023 -
2.0.210 May 2023Release notes
Open source →Added
- Add
vuiGetValue()as a Twig function forArrayHelper::getValue().
Fixed
- Fix tabs support.
- Add
-
2.0.130 Sep 2022Release notes
Open source →Fixed
- Fix an error by checking if a dispatcher actually exists before setting its targets. (thanks @boboldehampsink).
-
2.0.005 May 2022Release notes
Open source →Changed
- Switch to Monolog for logging.
- Craft 4 upgrade.
Fixed
- Fix credits css.
-
2.0.0-beta.301 May 2022 pre-releaseNothing published for this version
-
2.0.0-beta.209 Mar 2022 pre-releaseNothing published for this version
-
2.0.0-beta.109 Mar 2022 pre-releaseNothing published for this version
-
1.0.403 Nov 2021Release notes
Open source →Fixed
- Fix sidebar tabs not working in some instances, and make fully accessible.
-
1.0.317 Mar 2021Release notes
Open source →Fixed
- Fix file logging initializing too early before Craft has been bootstrapped.
-
1.0.214 Apr 2020 -
1.0.123 Jan 2020 -
1.0.017 Jan 2020