PHPackages                             johannschopplich/kirby-extended - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. johannschopplich/kirby-extended

Abandoned → [johannschopplich/kirby-helpers](/?search=johannschopplich%2Fkirby-helpers)Kirby-plugin[Utility &amp; Helpers](/categories/utility)

johannschopplich/kirby-extended
===============================

Environment, SEO, and build utilities for Kirby CMS

6.7.1(3mo ago)271.7k4[1 issues](https://github.com/johannschopplich/kirby-helpers/issues)MITPHPCI passing

Since Jun 23Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/johannschopplich/kirby-helpers)[ Packagist](https://packagist.org/packages/johannschopplich/kirby-extended)[ Docs](https://github.com/johannschopplich/kirby-helpers#readme)[ RSS](/packages/johannschopplich-kirby-extended/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (4)Versions (100)Used By (0)

Kirby Helpers
=============

[](#kirby-helpers)

A comprehensive toolkit that extends Kirby CMS with essential development utilities. This plugin consolidates commonly needed functionality into a single, well-integrated package, eliminating the need for multiple separate plugins.

Why Kirby Helpers?
------------------

[](#why-kirby-helpers)

Building modern Kirby websites often requires the same set of tools: environment variable management, SEO meta tags, XML sitemaps, URL redirects, and modern build tool integration. Instead of installing and configuring multiple plugins, Kirby Helpers provides these essential features in one cohesive package, designed to work seamlessly together.

Features
--------

[](#features)

### ⚡️ Environment Variables

[](#️-environment-variables)

Load `.env` files automatically and access variables through a global `env()` helper function. Perfect for managing API keys, database credentials, and environment-specific settings securely.

```
// .env file support with fallbacks
$apiKey = env('STRIPE_SECRET_KEY', 'fallback-key');
```

**[Read more →](./docs/env.md)**

### 🗂 SEO Meta Tags

[](#-seo-meta-tags)

Generate comprehensive meta tags for search engines and social media automatically. Supports OpenGraph, Twitter Cards, JSON-LD structured data, and canonical URLs with smart defaults and easy customization.

```
// Complete meta tag generation

```

**[Read more →](./docs/meta.md)**

### 🧭 XML Sitemaps

[](#-xml-sitemaps)

Auto-generate XML sitemaps with full multilingual support. Automatically excludes unwanted pages and templates while providing fine-grained control over what gets included.

```
// Automatically available at /sitemap.xml
// Supports hreflang for multilingual sites
```

**[Read more →](./docs/sitemap.md)**

### 🔀 Smart Redirects

[](#-smart-redirects)

Create flexible redirect rules that only activate when no existing page matches the URL. Supports pattern matching, placeholders, and custom logic through callbacks.

```
// Pattern-based redirects with placeholders
'old/blog/(:any)' => 'news/$1'
```

**[Read more →](./docs/redirects.md)**

### ⚡️ Vite Integration

[](#️-vite-integration)

Seamless Vite integration for modern frontend tooling. Automatically switches between development server and production assets, with support for Hot Module Replacement during development.

```
// Load Vite assets with automatic dev/production switching
