vestaboard / vbml
The Vestaboard Markup Language for PHP
dev-main
2026-04-06 15:52 UTC
Requires
- php: ^8.1
- mustache/mustache: ^2.14
Requires (Dev)
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2026-04-06 15:52:13 UTC
README
Installation
JavaScript / TypeScript
yarn install @vestaboard/vbml
or
npm i @vestaboard/vbml
Python
pip install pyvbml
PHP
composer require vestaboard/vbml
Usage
JavaScript / TypeScript
import { vbml } from "@vestaboard/vbml"; // Generate an array of 6 rows of 22 character codes representing the template const characters = vbml.parse({ components: [ { style: { justify: "center", align: "center", }, template: "Hello World!", }, ], });
Python
from pyvbml import vbml # Generate an array of 6 rows of 22 character codes representing the template characters = vbml.parse({ "components": [ { "style": { "justify": "center", "align": "center", }, "template": "Hello World!", } ] })
PHP
use Vestaboard\Vbml\Vbml; // Generate an array of 6 rows of 22 character codes representing the template $characters = Vbml::parse([ 'components' => [ [ 'style' => [ 'justify' => 'center', 'align' => 'center', ], 'template' => 'Hello World!', ], ], ]);
Docs
Full documentation is available at https://docs.vestaboard.com/docs/vbml