yiirocks/voyti-views-bootstrap5

Bootstrap5 views for Voyti user management library

Maintainers

Package info

github.com/YiiRocks/voyti-views-bootstrap5

Homepage

pkg:composer/yiirocks/voyti-views-bootstrap5

Transparency log

Fund package maintenance!

YiiRocks

Statistics

Installs: 321

Dependents: 9

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main / 1.0.x-dev 2026-08-21 14:02 UTC

This package is auto-updated.

Last update: 2026-08-21 14:08:35 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: login, registration, account settings, profile, admin dashboard, and RBAC admin interfaces.

Provides the virtual package yiirocks/voyti-views, allowing future view implementations (Tailwind, etc.) as alternative packages.

Installation

composer require yiirocks/voyti-views-bootstrap5

This package implements the yiirocks/voyti-views interface required by Voyti. No additional setup needed.

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.