PHPackages                             zmrq/php-pwa - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. zmrq/php-pwa

ActivePackage[Utility &amp; Helpers](/categories/utility)

zmrq/php-pwa
============

A PHP library for Progressive Web Apps (PWAs)

1.0.0(9mo ago)19MITPHP

Since Aug 5Pushed 9mo agoCompare

[ Source](https://github.com/zaiimrq/php-pwa)[ Packagist](https://packagist.org/packages/zmrq/php-pwa)[ RSS](/packages/zmrq-php-pwa/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP-PWA
=======

[](#php-pwa)

*Effortlessly Enable Seamless, Offline-Ready Web Experiences*

 [![Last Commit](https://camo.githubusercontent.com/7be47c605568f8022ea30e1494b728eb091503a9333939b0876b41f52770e700/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c617374253230636f6d6d69742d746f6461792d627269676874677265656e)](https://camo.githubusercontent.com/7be47c605568f8022ea30e1494b728eb091503a9333939b0876b41f52770e700/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c617374253230636f6d6d69742d746f6461792d627269676874677265656e) [![PHP](https://camo.githubusercontent.com/9a6afbb1b6af17d40e22d21786b8f02d6f2f5a0895513a47851c5b6525835836/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d36322e362532352d626c7565)](https://camo.githubusercontent.com/9a6afbb1b6af17d40e22d21786b8f02d6f2f5a0895513a47851c5b6525835836/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d36322e362532352d626c7565) [![Languages](https://camo.githubusercontent.com/a5f84b108b6e6aa1ef230319e2aca89f7c9c1f7666e4f3e7f3a7cfa8ca7edf06/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c616e6775616765732d332d696e666f726d6174696f6e616c)](https://camo.githubusercontent.com/a5f84b108b6e6aa1ef230319e2aca89f7c9c1f7666e4f3e7f3a7cfa8ca7edf06/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c616e6775616765732d332d696e666f726d6174696f6e616c)

---

✨ Overview
----------

[](#-overview)

**PHP-PWA** is a lightweight library that enables your native PHP applications to become Progressive Web Apps (PWAs) without requiring any additional PHP or JavaScript frameworks. With PHP-PWA, your web app can work offline, load faster, and feel like a native application—all with simple integration into your existing PHP codebase.

---

🚀 Features
----------

[](#-features)

- ⚡ Instant offline support via Service Worker
- 🔄 Automatic generation of PWA manifest file (`manifest.json`)
- 🧩 Easy integration with native PHP applications (no framework required)
- 📦 Composer-friendly package structure
- 🛡️ No dependency on any PHP framework

---

🛠️ Technology Stack
-------------------

[](#️-technology-stack)

Built with:

[![JSON](https://camo.githubusercontent.com/52561982f8bee1b9ead6765086fe3a7d20fc422e934154bcb78da850400c29e4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4a534f4e2d626c61636b3f6c6f676f3d6a736f6e266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/52561982f8bee1b9ead6765086fe3a7d20fc422e934154bcb78da850400c29e4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4a534f4e2d626c61636b3f6c6f676f3d6a736f6e266c6f676f436f6c6f723d7768697465)[![Composer](https://camo.githubusercontent.com/9655d0c2c4327de826ce792f5d88c05f49526a1f87de5ba4f49245347438e69a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d436f6d706f7365722d62726f776e3f6c6f676f3d636f6d706f736572266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/9655d0c2c4327de826ce792f5d88c05f49526a1f87de5ba4f49245347438e69a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d436f6d706f7365722d62726f776e3f6c6f676f3d636f6d706f736572266c6f676f436f6c6f723d7768697465)[![PHP](https://camo.githubusercontent.com/366ee5957364c6547132af5ca31ebe42b815bfe7a21b2db059843c5333984eed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d5048502d3737374242343f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/366ee5957364c6547132af5ca31ebe42b815bfe7a21b2db059843c5333984eed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d5048502d3737374242343f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)

---

📦 Installation
--------------

[](#-installation)

Install via Composer:

```
composer require zmrq/php-pwa
```

---

⚙️ Usage
--------

[](#️-usage)

1. **Enable PWA in your application's root:**

    ```
