/contao-packagist-inserttags-bundle

Adds insert tags for downloads and stargazers from packagist.org

Primary LanguagePHPGNU Lesser General Public License v3.0LGPL-3.0

Contao Packagist Inserttags Bundle

Funktion

Dieses einfache Bundle stellt zwei Inserttags zur Abfrage der packagist-json-API bereit. Folgende zwei Abfragen sind z.Zt. implementiert:

1. Holen der 'downloads'

{{packagist::pdir/maklermodul::downloads}}

2. Holen der 'likes'

{{packagist::pdir/maklermodul::likes}}

Rückgabewert

Die Tags liefern eine Zahl mit lokalisierter Formatierung.

GitHub

https://github.com/pdir/contao-packagist-inserttags-bundle

Packagist API Doc

https://packagist.org/apidoc