PHPackages                             getherbie/plugin-highlight - 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. getherbie/plugin-highlight

ActiveHerbie-plugin

getherbie/plugin-highlight
==========================

Highlight Plugin for Herbie.

v1.0.0(10y ago)22901BSD-3-ClausePHP

Since Dec 3Pushed 8y agoCompare

[ Source](https://github.com/getherbie-plugin/highlight)[ Packagist](https://packagist.org/packages/getherbie/plugin-highlight)[ Docs](http://www.getherbie.org)[ RSS](/packages/getherbie-plugin-highlight/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (1)

Herbie Highlight Plugin
=======================

[](#herbie-highlight-plugin)

`Highlight` ist ein [Herbie](http://github.com/getherbie/herbie) Plugin, das den leistungsfähgien Code Syntaxhighlighter [GeSHi](http://qbnz.com/highlighter/) in deine Website einbindet.

Installation
------------

[](#installation)

Das Plugin installierst du via Composer.

```
$ composer require getherbie/plugin-highlight

```

Danach aktivierst du das Plugin in der Konfigurationsdatei.

```
plugins:
    enable:
        - highlight

```

Konfiguration
-------------

[](#konfiguration)

Unter `plugins.config.highlight` stehen dir die folgenden Optionen zur Verfügung:

```
# enable shortcode
shortcode: true

# enable twig tag
twig: false

```

Anwendung
---------

[](#anwendung)

Das Plugin stellt dir den Shortcode \[code\] zur Verfügung, den du in deinen Seiteninhalten nutzen kannst. Als einzigen Parameter wird die Programmiersprache verlangt:

```
[code javascript]
    alert("Hello Herbie!");
[/code]

```

Mit dem Aktivieren des Twig-Tags kannst du Gist-Schnipsel auch in Layoutdateien einsetzen:

```
{% code javascript %}
    alert("Hello Herbie!");
{% endcode %}

```

Unterstützung
-------------

[](#unterstützung)

Von GeSHi werden die folgenden Sprachen unterstützt (in alphabetischer Reihenfolge):

4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, aimms, algol68, apache, applescript, apt\_sources, arm, asm, asp, asymptote, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, batch, bf, bibtex, blitzbasic, bnf, boo, c, c\_loadrunner, c\_mac, c\_winapi, caddcl, cadlisp, cfdg, cfm, chaiscript, chapel, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, cpp-winapi, csharp, css, cuesheet, d, dart, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript, eiffel, email, epc, erlang, euphoria, ezt, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell, haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, ispfpanel, j, java, java5, javascript, jcl, jquery, kixtart, klonec, klonecpp, latex, lb, ldif, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, mmix, modula2, modula3, mpasm, mxml, mysql, nagios, netrexx, newlisp, nginx, nsis, oberon2, objc, objeck, ocaml, ocaml-brief, octave, oobas, oorexx, oracle8, oracle11, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6, pf, php, php-brief, pic16, pike, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q, qbasic, racket, rails, rbs, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, rust, sas, sass, scala, scheme, scilab, scl, sdlbasic, smalltalk, smarty, spark, sparql, sql, stonescript, systemverilog, tcl, teraterm, text, thinbasic, tsql, twig, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vbscript, vedit, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xbasic, xml, xojo, xorg\_conf, xpp, yaml, z80, zxbasic

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~163 days

Total

4

Last Release

3694d ago

Major Versions

v0.7.0 → v1.0.02016-04-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bdbbcc7c6a4eb0680b6f21d894db260f9863c0743d34365f723545aed49525d?d=identicon)[getherbie](/maintainers/getherbie)

---

Top Contributors

[![tbreuss](https://avatars.githubusercontent.com/u/1334161?v=4)](https://github.com/tbreuss "tbreuss (26 commits)")

---

Tags

pluginhighlightgeshiherbie

### Embed Badge

![Health badge](/badges/getherbie-plugin-highlight/health.svg)

```
[![Health](https://phpackages.com/badges/getherbie-plugin-highlight/health.svg)](https://phpackages.com/packages/getherbie-plugin-highlight)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[scrivo/highlight.php

Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js

71040.3M82](/packages/scrivo-highlightphp)[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

24924.2M71](/packages/php-http-cache-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
