⭐ Found this useful? Install from Packagist · Give it a star on GitHub so more developers can find it.
Canonical admin UI kit for Nowo Symfony bundles and host apps: Twig macros, semantic nowo-ui-* CSS, pagination/tabs/modals, shell chrome (aside / burger / avatar / user menu / footer), and multi-framework class helpers (bootstrap5, tailwind, foundation, custom, …) per REQ-UI-001.
Compatible with Symfony 6.x, 7.4+, and 8.x (PHP 8.1+; Symfony 8 requires PHP 8.4+).
This bundle is FrankenPHP worker mode friendly.
- What this is / is not
- Features
- Installation
- Quick start
- Demos
- Documentation
- Tests and coverage
- License
- Contributing
| Is | Is not |
|---|---|
| Buttons, toolbars, tables, lists, pagination, tabs, flashes, empty states, modal shell, icons, aside / burger / avatar / user menu / footer | DashboardMenu / BreadcrumbKit navigation chrome |
Shared nowo-ui-* look-and-feel |
Domain CRUD pages / manage routes |
| Multi-framework class macros | Form widget themes (use FormKit) |
- Twig macros (
@NowoUiKitBundle/macros/ui.html.twig) with optional per-callframeworkoverride - Semantic stylesheet
css/nowo-ui.css(asset packagenowo_ui_kit) - Modal + shell TypeScript → built IIFEs (
js/nowo-ui-modal.js,js/nowo-ui-shell.js) - Config:
css_framework,icon_set; i18n domainNowoUiKitBundle(en,es,it,fr,pt,de,nl) - Twig namespace overrides under
templates/bundles/NowoUiKitBundle/
composer require nowo-tech/ui-kit-bundle
php bin/console assets:installWith Flex, the recipe creates config/packages/nowo_ui_kit.yaml. See docs/INSTALLATION.md and docs/RECIPE.md.
# config/packages/nowo_ui_kit.yaml
nowo_ui_kit:
css_framework: bootstrap5 # or: tailwind | foundation | custom
icon_set: bootstrap-icons{% import '@NowoUiKitBundle/macros/ui.html.twig' as ui %}
<link rel="stylesheet" href="{{ asset('css/nowo-ui.css', 'nowo_ui_kit') }}">
<button type="button" class="{{ ui.btn('primary') }}">Save</button>See docs/USAGE.md and docs/CONFIGURATION.md.
FrankenPHP demos (Caddy + PHP). Runtime mode: FRANKENPHP_MODE (worker default; classic for per-request PHP). See docs/DEMO-FRANKENPHP.md.
| Demo | Port | Notes |
|---|---|---|
| demo/symfony8 | 8092 | Bootstrap 5 kitchen sink |
| demo/symfony8-tailwind | 8093 | Tailwind kitchen sink |
make -C demo up-symfony8
# open http://localhost:8092/Developer-facing docs are English only (Contributing — Language policy).
- Installation
- Configuration
- Usage
- Flex recipe
- FrankenPHP demos
- Contributing
- Code of Conduct
- Security
- Changelog
- Upgrading
- Release
- Coverage
- GitHub Actions CI
- Spec-driven development
- Spec Kit
- Roadmap
| Suite | Coverage |
|---|---|
| PHP (PHPUnit) | 100% lines (fail under 99% in CI) |
| TypeScript (Vitest) | ~96.7% lines (threshold ≥90%) |
| Python | N/A |
composer install
make test
make test-coverage
make test-ts
pnpm install && pnpm run buildSee docs/COVERAGE.md.
MIT — see LICENSE.
See docs/CONTRIBUTING.md. Install hooks with make setup-hooks (REQ-GIT-001).
