Search by

grommasdietz / kirby-proofreader

grommasdietz

Typographic suggestions for Kirby CMS

Package info

github.com/grommasdietz/kirby-proofreader

Documentation

Type:kirby-plugin

pkg:composer/grommasdietz/kirby-proofreader

Statistics

Installs: 1 546

Dependents: 0

Suggesters: 0

Stars: 7

Open Issues: 0

1.13.0 2026-10-22 20:41 UTC

This package is auto-updated.

Last update: 2026-10-27 10:01:41 UTC


README

Kirby Proofreader adds a Panel button on Kirby CMS for reviewing typographic corrections in content views before applying them. Field changes are saved to Kirby's changes version, title fixes use Kirby's native title action and save immediately.

Cover image showing an example of the plugin in use

Requirements

  • Kirby 5.2+
  • PHP 8.2+

Installation

composer require grommasdietz/kirby-proofreader

Tip

For a manual install, download the Source code (zip) archive of an immutable GitHub release tag and copy it to site/plugins/kirby-proofreader.

Quickstart

Add the button to a page, site, file, user or custom area blueprint:

buttons:
  proofreader: true
  languages: true
  status: true
  settings: true

Options

The default rule order is unicode, ellipsis, quotes, apostrophes, dashes, spaces. Optional rules include dimensions, paragraphs, abbreviations, primes, currencies and symbols. Rules can be reordered, disabled or extended. Configure via site/config/config.php:

return [
    'grommasdietz.proofreader.rules' => [
        'unicode',
        'ellipsis',
        'quotes' => false,
        'apostrophes',
        'dashes',
        'spaces',
        'dimensions',
        'paragraphs',
        'trademark' => [
            'label' => 'Trademark',
            'callback' => static fn (string $text): string => str_replace(
                'Label TM',
                'Label™',
                $text
            ),
        ],
    ],
];

The keyed false entry disables the built-in quotes rule. The keyed trademark array adds a custom callback rule.

Quote characters and spacing follow Kirby's native SmartyPants options when configured globally or per language. Regional styles belong in Kirby's language definitions. HTML lang attributes override the content language, and quotation pairs can span inline formatting. Single-language installs need SmartyPants configuration to enable the quote rule.

See the usage reference for field coverage, custom rules and protected text spans.

CLI

With the Kirby CLI installed, fixes can also be applied from the command line:

kirby proofreader:review projects/my-project
kirby proofreader:fix projects/my-project

See docs/usage/index.md for the full flag reference.

Documentation

Full reference for usage, contributions and maintenance lives in documentation.

Changelog

See CHANGELOG.md for version history and changes.

Security

See SECURITY.md for security policies and reporting vulnerabilities.

Contributing

See CONTRIBUTING.md for guidance and expectations.

License

MIT © 2026 Grommas Dietz