lindemannrock/craft-plugin-base

Common utilities and building blocks for LindemannRock Craft CMS plugins

Installs: 91

Dependents: 20

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Twig

Type:yii2-module

pkg:composer/lindemannrock/craft-plugin-base

5.17.0 2026-02-22 20:29 UTC

README

Latest Version Craft CMS PHP License

Common utilities and building blocks for LindemannRock Craft CMS plugins.

Features

  • Edition Support — standardized Lite/Standard/Pro edition tiers for the Plugin Store
  • Settings Traits — database persistence, config file overrides, custom display names
  • DateFormatHelper — centralized date/time formatting with timezone-aware SQL expressions
  • DateRangeHelper — standardized date range selection, bounds, and query filtering
  • ColorHelper — 18-color palette and 15 built-in color sets for consistent styling
  • ExportHelper — CSV, JSON, and Excel export with configurable format availability
  • GeoHelper — ISO 3166-1 country lookups, dial codes, and phone validation
  • DbHelper — DB-agnostic JSON extraction and GROUP_CONCAT
  • CsvImportHelper — CSV upload parsing with configurable options
  • CpNavHelper — CP subnav building with permission checks
  • Device Detection — standardized UA parsing via Matomo DeviceDetector
  • GeoLookup — IP geolocation via MaxMind or ip-api
  • CP Table Layout — reusable table pages with filters, search, pagination, and AJAX refresh
  • CP Analytics Layout — analytics dashboards with tabs, charts, stat boxes, and date filters
  • Twig Extensions — 30+ filters and functions for dates, colors, exports, geo, and plugin detection
  • 15 Twig Components — badge, stat-box, info-box, export-menu, row-actions, filters, and more

Requirements

  • PHP 8.2+
  • Craft CMS 5.0+

Installation

composer require lindemannrock/craft-plugin-base

Documentation

Full documentation is available in the docs folder.

Support

License

This plugin is licensed under the MIT License. See LICENSE.md for details.

Developed by LindemannRock