{"id":35668716,"url":"https://github.com/lindemannrock/craft-plugin-base","last_synced_at":"2026-04-25T10:04:23.747Z","repository":{"id":331632880,"uuid":"1128421344","full_name":"LindemannRock/craft-plugin-base","owner":"LindemannRock","description":"Common utilities and building blocks for LindemannRock Craft CMS plugins - traits, helpers, Twig extensions, and shared templates","archived":false,"fork":false,"pushed_at":"2026-01-12T12:12:09.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T20:57:11.103Z","etag":null,"topics":["craft-cms","craft-plugin","craftcms","php","plugin-base","shared-library","utilities"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LindemannRock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-05T16:01:01.000Z","updated_at":"2026-01-12T12:12:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/LindemannRock/craft-plugin-base","commit_stats":null,"previous_names":["lindemannrock/craft-plugin-base"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/LindemannRock/craft-plugin-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LindemannRock%2Fcraft-plugin-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LindemannRock%2Fcraft-plugin-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LindemannRock%2Fcraft-plugin-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LindemannRock%2Fcraft-plugin-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LindemannRock","download_url":"https://codeload.github.com/LindemannRock/craft-plugin-base/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LindemannRock%2Fcraft-plugin-base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28571556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["craft-cms","craft-plugin","craftcms","php","plugin-base","shared-library","utilities"],"created_at":"2026-01-05T18:07:23.299Z","updated_at":"2026-04-25T10:04:23.735Z","avatar_url":"https://github.com/LindemannRock.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LindemannRock Plugin Base\n\n[![Latest Version](https://img.shields.io/packagist/v/lindemannrock/craft-plugin-base.svg)](https://packagist.org/packages/lindemannrock/craft-plugin-base)\n[![Craft CMS](https://img.shields.io/badge/Craft%20CMS-5.0+-orange.svg)](https://craftcms.com/)\n[![PHP](https://img.shields.io/badge/PHP-8.2+-blue.svg)](https://php.net/)\n[![License](https://img.shields.io/packagist/l/lindemannrock/craft-plugin-base.svg)](LICENSE.md)\n\nCommon utilities and building blocks for LindemannRock Craft CMS plugins.\n\n## Features\n\n- **Edition Support** — standardized Lite/Standard/Pro edition tiers for the Plugin Store\n- **Settings Traits** — database persistence, config file overrides, custom display names\n- **DateFormatHelper** — centralized date/time formatting with timezone-aware SQL expressions\n- **DateRangeHelper** — standardized date range selection, bounds, and query filtering\n- **ColorHelper** — 18-color palette and 15 built-in color sets for consistent styling\n- **ExportHelper** — CSV, JSON, and Excel export with configurable format availability\n- **GeoHelper** — ISO 3166-1 country lookups, dial codes, and phone validation\n- **DbHelper** — DB-agnostic JSON extraction and GROUP_CONCAT\n- **CsvImportHelper** — CSV upload parsing with configurable options\n- **CpNavHelper** — CP subnav building with permission checks\n- **LabelHelper** — strip numbering and truncate long field labels for compact UI contexts (`|lrShortLabel` Twig filter)\n- **Device Detection** — standardized UA parsing via Matomo DeviceDetector\n- **GeoLookup** — IP geolocation via configurable providers (ip-api.com, ipapi.co, ipinfo.io)\n- **CP Table Layout** — reusable table pages with filters, search, pagination, and AJAX refresh\n- **CP Analytics Layout** — analytics dashboards with tabs, charts, stat boxes, and date filters\n- **Twig Extensions** — 30+ filters and functions for dates, colors, exports, geo, and plugin detection\n- **15 Twig Components** — badge, stat-box, info-box, export-menu, row-actions, filters, and more\n\n## Requirements\n\n- PHP 8.2+\n- Craft CMS 5.0+\n\n## Installation\n\n```bash\ncomposer require lindemannrock/craft-plugin-base\n```\n\n## Documentation\n\nFull documentation is available in the [docs](docs/) folder.\n\n## Support\n\n- **Issues**: [GitHub Issues](https://github.com/LindemannRock/craft-plugin-base/issues)\n- **Email**: [support@lindemannrock.com](mailto:support@lindemannrock.com)\n\n## License\n\nThis plugin is licensed under the MIT License. See [LICENSE.md](LICENSE.md) for details.\n\n---\n\nDeveloped by [LindemannRock](https://lindemannrock.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flindemannrock%2Fcraft-plugin-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flindemannrock%2Fcraft-plugin-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flindemannrock%2Fcraft-plugin-base/lists"}