Search by

johannschopplich / kirby-helpers

johannschopplich

Environment variables, meta tags, sitemap, redirects, and Vite

Package info

github.com/johannschopplich/kirby-helpers

Homepage

Type:kirby-plugin

pkg:composer/johannschopplich/kirby-helpers

Statistics

Installs: 8 374

Dependents: 0

Suggesters: 1

Stars: 31

Open Issues: 1


README

Kirby Helpers logo

Kirby Helpers

Kirby Helpers is a plugin for Kirby CMS with five helpers for your templates and config.php. Each works on its own: the sitemap, robots.txt, and redirects stay off until you configure them, and the rest are functions you call.

Environment Variables • Meta Tags • Sitemap • Redirects • Vite

When to Use

I want to… Use
Read values from a .env file env('KEY', $default)
Render description, Open Graph, Twitter, and JSON-LD tags $page->meta()->social()
Serve a sitemap with hreflang alternates sitemap.enabled option
Redirect URLs that no longer exist redirects option
Load Vite's dev server or built assets vite()->js() and vite()->css()

Requirements

  • Kirby 5

Installation

Composer (Recommended)

composer require johannschopplich/kirby-helpers

Manual Installation

Download a release and extract it to /site/plugins/kirby-helpers.

Documentation

For installation, configuration, and usage, see the Kirby Helpers documentation.

License

MIT License © 2020-PRESENT Johann Schopplich

MIT License © 2020-2022 Bastian Allgeier

MIT License © 2020-2022 Nico Hoffmann