Search by

yiirocks / voyti-views-bootstrap5

mr42

Bootstrap5 views for Voyti user management library

Package info

github.com/YiiRocks/voyti-views-bootstrap5

Homepage

pkg:composer/yiirocks/voyti-views-bootstrap5

Fund package maintenance!

YiiRocks

Statistics

Installs: 1 703

Dependents: 13

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main / 1.0.x-dev 2026-09-03 23:11 UTC

This package is auto-updated.

Last update: 2026-09-03 23:19:07 UTC


README

Packagist Version PHP from Packagist Packagist GitHub GitHub Workflow Status

Stats for Nerds

Coverage Tests Assertions

Bootstrap5 HTML views for Voyti user management library.

Installation

composer require yiirocks/voyti-views-bootstrap5

Testing

Every view is rendered in a PHPUnit test with a strict error handler and locked in a markup snapshot, so contract drift between controllers and views fails CI instead of surfacing at runtime:

composer phpunit

Snapshots live next to their test classes in tests/View/__snapshots__/. After an intentional view change, regenerate them and review the diff:

UPDATE_SNAPSHOTS=true vendor/bin/phpunit

A smoke test renders every file under views/; adding a view without registering its fixture data in tests/Support/Fixtures.php fails the suite.