robots-dreams/footstep

PHP classes to render bootstrap elements

Maintainers

Package info

github.com/robots-dreams/footstep

pkg:composer/robots-dreams/footstep

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.2 2025-08-27 17:32 UTC

This package is auto-updated.

Last update: 2026-03-27 18:37:49 UTC


README

PHP classes to render bootstrap elements

logo

The package is still a work in progress and will be extended in the future.

At the moment only buttons are supported.

Example Usage:

<?php echo new Button(TypeEnum::SUCCESS, 'Speichern') ?>

renders to: image info

<?php echo new Button(TypeEnum::WARNING, 'Speichern', outline: OutlineType::OUTLINE) ?>

renders to: image info

<?php echo new Button(TypeEnum::DARK, 'Speichern', ButtonSizeEnum::SM, OutlineType::OUTLINE) ?>

renders to: image info

<?php echo new Button(TypeEnum::DANGER, 'Speichern', ButtonSizeEnum::LG, OutlineType::OUTLINE) ?>

renders to: image info

<?php echo new Button(TypeEnum::INFO, 'Speichern', disabled: true) ?>

renders to: image info

<?php echo new Button(TypeEnum::INFO, 'Speichern', href: 'https://www.google.de') ?>

renders to: image info