The Vestaboard Markup Language for PHP

Maintainers

Package info

github.com/Vestaboard/vbml

Language:Python

pkg:composer/vestaboard/vbml

Statistics

Installs: 16

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 5

dev-main 2026-04-06 15:52 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