Download the PHP package nowo-tech/pwa-bundle without Composer
On this page you can find all versions of the php package nowo-tech/pwa-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nowo-tech/pwa-bundle
More information about nowo-tech/pwa-bundle
Files in nowo-tech/pwa-bundle
Package pwa-bundle
Short Description Symfony bundle to turn any application into a fully configurable Progressive Web App (manifest, service worker, offline, install prompt)
License MIT
Homepage https://github.com/nowo-tech/PwaBundle
Informations about the package pwa-bundle
PWA Bundle
⭐ Found this useful? Give it a star on GitHub so more developers can find it.
Turn any Symfony application into a Progressive Web App with a fully configurable manifest, service worker, offline page, and install prompt — no vendor lock-in, no hardcoded assets.
This bundle is FrankenPHP worker mode friendly.
This includes running when the kernel is not rebooted between requests (reset_kernel false); see HTTP timeouts).
|
Install prompt — host UiKit theme, brand mark from a one-block override |
Offline fallback — self-contained status page cached by the service worker |
Features
- Web App Manifest generated from
nowo_pwa.yaml(name, icons, shortcuts, theme, display mode, scope, start URL) - Manifest overlay — implement
ManifestOverlayProviderInterface(tagnowo_pwa.manifest_overlay_provider, autoconfigured) to overlay brand/colors onto the manifest - Brand provider (optional) — with
nowo-tech/brand-contractsand aBrandProviderInterfaceservice (e.g. InstanceSettingsBundle's brand bridge), the manifest and head tags follow the brand name, colours and app icon; the config stays the fallback (nowo_pwa.brand, see USAGE) - Service worker with configurable cache strategy (
network-first,cache-first,stale-while-revalidate), precache URLs, and offline fallback - Twig helpers
nowo_pwa_head(),nowo_pwa_install_prompt(),nowo_pwa_install_links(), andnowo_pwa_enabled()with route targeting (all/only/except, route names or URL paths) - Web Profiler panel
nowo_pwa(manifest/SW status in debug) - Install prompt modes —
banner,flash(inline), ormodal; dismiss remind / never-ask-again options - UiKit page contract (REQ-UI-003,
nowo-tech/ui-kit-bundle^2.2) — widgets on UiKit theme slots and tokens, offline page on the self-contained UiKit status layout (templates) - Override-friendly Twig templates with install/offline blocks (
@!NowoPwaBundleone-block overrides), bundledpwa.csstokens, and translations (en, es, fr, it, pt, de, nl; REQ-TWIG-001 / REQ-I18N-001) - TypeScript client for SW registration and install banner (Vite build →
pwa.js) - Web Push (optional) —
WebPushSenderInterface(minishlink/web-push 11, VAPID, anti-SSRF endpoint guard), dependency checks at compile time, and an opt-in CSRF-protected test notification endpoint (nowo_pwa_push_test) - Push diagnostics —
push-checks.ts+ Stimulus peerpush-diagnostics+ partialpwa/push_diagnostics.html.twig(per-step checklist: support, VAPID, permission, service worker, subscription/key match, server copy) - Browser hints — Stimulus peer
browser-hint+ partialspwa/browser_hint.html.twig/pwa/browser_guide.html.twig(per-browser install + push help) - Works with Symfony 7.4+ and 8.x; no database required
Installation
In your base layout:
See Configuration.
Documentation
- Installation
- Configuration
- Usage
- Contributing
- Code of Conduct
- Changelog
- Upgrading
- Release
- Security
- Engram
- Spec-driven development
- GitHub Spec Kit
Additional documentation
- GitHub Actions CI requirements
- PSR evaluation (REQ-CS-007)
- Templates (UiKit page contract)
- Demo with FrankenPHP
- FrankenPHP worker audit
Tests and coverage
- PHP: 100% (
composer test-coverage-100enforces--min-percent=100) - TS/JS: 100% (Vitest thresholds in
vitest.config.ts)
Playwright end-to-end tests and the README screenshots (WebP under docs/images/demo/): make -C demo/symfony8 test-e2e
and make -C demo/symfony8 demo-screenshots (REQ-DEMO-013).
License
MIT — see LICENSE.
All versions of pwa-bundle with dependencies
nowo-tech/ui-kit-bundle Version ^2.2
symfony/config Version ^7.4 || ^8.0
symfony/dependency-injection Version ^7.4 || ^8.0
symfony/deprecation-contracts Version ^2.5 || ^3.0
symfony/framework-bundle Version ^7.4 || ^8.0
symfony/http-kernel Version ^7.4 || ^8.0
symfony/routing Version ^7.4 || ^8.0
symfony/twig-bundle Version ^7.4 || ^8.0
symfony/yaml Version ^7.4 || ^8.0
twig/extra-bundle Version ^3.12
twig/string-extra Version ^3.12