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

ActiveHerbie-plugin

getherbie/plugin-gist
=====================

Gist Plugin for Herbie.

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

Since Jan 28Pushed 6y agoCompare

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

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

Herbie Gist Plugin
==================

[](#herbie-gist-plugin)

`Gist` ist ein [Herbie](http://github.com/getherbie/herbie) Plugin, mit dem du [Gist](https://gist.github.com)-Schnipsel von Github in deine Website einbettest.

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

[](#installation)

Das Plugin installierst du via Composer.

```
$ composer require getherbie/plugin-gist

```

Danach aktivierst du das Plugin in der Konfigurationsdatei.

```
plugins:
    enable:
        - gist

```

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

[](#konfiguration)

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

```
# enable shortcode
shortcode: true

# enable twig function
twig: false

```

Anwendung
---------

[](#anwendung)

Mit dem Gist-Shortcode kannst du in Seiteninhalten jedes beliebige Gist-Schnipsel einbinden, wobei "123456789" die ID des gewünschten Gist ist.

```
[gist 123456789]

oder

[gist id="123456789"]

```

Möchtest du eine bestimmte Datei innerhalb eines Gist anzeigen, kannst Du dies mit dem optionalen `file`-Parameter machen:

```
[gist id="12345" file="filename.md"]

```

Mit dem Aktivieren der Twig-Funktion kannst du Gist-Schnipsel auch in Layoutdateien einsetzen:

```
{{ gist id="123456789" }}

{{ gist id="12345" file="filename.md" }}

```

Parameter
---------

[](#parameter)

NameBeschreibungTypDefaultidDie Gist-IDstring*empty*fileEine bestimmte Datei innerhalb des Giststring*empty*Demo
----

[](#demo)

###  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

Maturity64

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 ~432 days

Total

2

Last Release

3692d 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 (15 commits)")

---

Tags

plugingistherbie

### Embed Badge

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

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

###  Alternatives

[lab404/laravel-impersonate

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

2.3k16.4M48](/packages/lab404-laravel-impersonate)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[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)[sabre/event

sabre/event is a library for lightweight event-based programming

35227.4M25](/packages/sabre-event)[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)
