PHPackages                             shopware-pwa/shopware-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. shopware-pwa/shopware-pwa

ActiveShopware-platform-plugin[Utility &amp; Helpers](/categories/utility)

shopware-pwa/shopware-pwa
=========================

Shopware PWA extension

v0.5.1(12mo ago)4074.0k↓45.8%14MITPHP

Since Jan 9Pushed 12mo ago9 watchersCompare

[ Source](https://github.com/shopware/SwagShopwarePwa)[ Packagist](https://packagist.org/packages/shopware-pwa/shopware-pwa)[ RSS](/packages/shopware-pwa-shopware-pwa/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (35)Used By (0)

Shopware PWA extension
======================

[](#shopware-pwa-extension)

Note

This extension is deprecated, only compatibility for different Shopware versions is maintained.
Consider using [Shopware Composable Frontends](https://developer.shopware.com/frontends/).

This extension provides a collection of helper functions to integrate with the [shopware-pwa](https://github.com/DivanteLtd/shopware-pwa) client library.

In order to use this extension with Shopware 6, make sure you install the latest [available version](#versions) compatible with your Shopware version.

There is a [video on how to set up](https://drive.google.com/open?id=1ynpoWw9b7hljzkqzVv2JFDxTtgomyVg4) the extension correctly (please be aware that this applies to the old 6.1 version).

Table of content
----------------

[](#table-of-content)

- [Versions](#versions)
- [Setup](#setup)
- [Documentation](#documentation)
- [Tests](#tests)

Versions
--------

[](#versions)

Shopware VersionSwagShopwarePwa VersionPWA Version6.3.\*0.2.\*0.8.\*6.4.\*0.3.\*0.9.\*6.5.\*0.4.\*canary6.6.\*0.5.\*canary6.6.x-devmastercanarySetup
-----

[](#setup)

### Install extension

[](#install-extension)

There are two ways you can require the extension.

#### Composer

[](#composer)

Run

```
$ composer require shopware-pwa/shopware-pwa

```

within your Shopware installation directory. This will install a composer managed package of the extension. To use the latest version run

```
$ composer require shopware-pwa/shopware-pwa:dev-master

```

instead.

We recommend using this way of installing the extension, because it reduces the risk of having an outdated/incompatible dependency.

#### Manual

[](#manual)

Clone the repository into the local `plugins` directory of your Shopware installation.

```
$ git clone https://github.com/shopware/SwagShopwarePwa.git custom/plugins/SwagShopwarePwa

```

This will allow you to make changes and pull requests to this very repository, since you're using a local copy of the extension.

### Install extension

[](#install-extension-1)

Run the following commands in your Shopware root directory.

Refresh extension list

```
$ bin/console plugin:refresh
```

Install and activate the extension

```
$ bin/console plugin:install --activate SwagShopwarePwa
```

Clear the cache (sometimes invalidation is needed for the new routes to activate)

```
$ bin/console cache:clear
```

### Generate routes

[](#generate-routes)

Make sure you've created a sales channel and assigned SEO URL templates (either using the database or the administration panel).

Currently there are the following requirements: As headless sales channels don't support SEO URLs, you have to select a "storefront" sales channel as a base.

Refresh the index tables (containing the SEO URLs) manually

```
$ bin/console dal:refresh:index
```

Documentation
-------------

[](#documentation)

### Endpoints

[](#endpoints)

This extension adds multiple endpoints to both, the store and the admin API. All endpoints below accept `POST` requests.

**/store-api/pwa/page**

Resolves a given path to cms or product page and accepts include parameters to specifiy the fields contained in your response.

**/api/\_action/pwa/dump-bundles**

This endpoint is required to connect Shopware extensions with your PWA during the application build. It dumps your extensions metadata and configuration and PWA specific source files and delivers via a safe channel.

Tests
-----

[](#tests)

Tests are located in `src/Test` and configured in `phpunit.xml`.

In order to run the tests you have to set up the test database so that Shopware runs them with our extension enabled.

After the extension is installed in your shop, make sure you execute the follwing command (in the Shopware root directory) to dump the current configuration of your shop to the test-database (when using Docker, run it inside the container):

```
$ ./psh.phar init-test-databases
```

Then execute the following commands in the extension's root directory to run the test.

```
$ composer install
$ ../../../vendor/bin/phpunit
```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance50

Moderate activity, may be stable

Popularity42

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~135 days

Recently: every ~304 days

Total

15

Last Release

364d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7780750?v=4)[Dominic Klein](/maintainers/elkmod)[@elkmod](https://github.com/elkmod)

---

Top Contributors

[![elkmod](https://avatars.githubusercontent.com/u/7780750?v=4)](https://github.com/elkmod "elkmod (55 commits)")[![rittou](https://avatars.githubusercontent.com/u/85224631?v=4)](https://github.com/rittou "rittou (7 commits)")[![mkucmus](https://avatars.githubusercontent.com/u/5596960?v=4)](https://github.com/mkucmus "mkucmus (5 commits)")[![xeno010](https://avatars.githubusercontent.com/u/5448179?v=4)](https://github.com/xeno010 "xeno010 (3 commits)")[![pweyck](https://avatars.githubusercontent.com/u/7515344?v=4)](https://github.com/pweyck "pweyck (3 commits)")[![bogdan-racz](https://avatars.githubusercontent.com/u/7119726?v=4)](https://github.com/bogdan-racz "bogdan-racz (2 commits)")[![Drumm3r](https://avatars.githubusercontent.com/u/35573506?v=4)](https://github.com/Drumm3r "Drumm3r (1 commits)")[![niklaswolf](https://avatars.githubusercontent.com/u/16021919?v=4)](https://github.com/niklaswolf "niklaswolf (1 commits)")[![khanhle-nfq](https://avatars.githubusercontent.com/u/108442798?v=4)](https://github.com/khanhle-nfq "khanhle-nfq (1 commits)")[![BrocksiNet](https://avatars.githubusercontent.com/u/3763023?v=4)](https://github.com/BrocksiNet "BrocksiNet (1 commits)")[![vafschoenenborn](https://avatars.githubusercontent.com/u/139948244?v=4)](https://github.com/vafschoenenborn "vafschoenenborn (1 commits)")[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (1 commits)")

### Embed Badge

![Health badge](/badges/shopware-pwa-shopware-pwa/health.svg)

```
[![Health](https://phpackages.com/badges/shopware-pwa-shopware-pwa/health.svg)](https://phpackages.com/packages/shopware-pwa-shopware-pwa)
```

###  Alternatives

[frosh/tools

Provides some basic things for managing the Shopware Installation

79709.7k2](/packages/frosh-tools)[werkstattl/openblogware

OpenBlogware: A Blog Module for Shopware 6.

415.7k](/packages/werkstattl-openblogware)[basecom/sw6-fixtures-plugin

basecom Fixtures Plugin

18185.5k](/packages/basecom-sw6-fixtures-plugin)[frosh/product-compare

A Simple Product Compare plugin for Shopware 6

4032.8k](/packages/frosh-product-compare)[swag/migration-assistant

Migration plugin for shopware/platform

2036.3k](/packages/swag-migration-assistant)[frosh/platform-share-basket

Shopware Plugin to share your basket

2017.0k](/packages/frosh-platform-share-basket)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
