Search by

shopware / app-bundle

shyim

Symfony bundle to develop shopware apps easy

Package info

github.com/shopware/app-bundle-symfony

Type:symfony-bundle

pkg:composer/shopware/app-bundle

Statistics

Installs: 132 639

Dependents: 0

Suggesters: 0

Stars: 16

Open Issues: 1

6.1.0 2026-09-21 06:23 UTC

README

PHPUnit codecov

App Bundle integrates the PHP App SDK for Symfony.

Refer to the quick start documentation for more information.

Requests to shops

All requests to shops, from the SDK's ClientFactory and the reachability check, go through the shopware_app.shop_http_client service. It uses the options of its base client, e.g. framework.http_client.default_options.

shopware_app:
    shop_http_client:
        base_client: http_client  # Symfony HTTP client to build on
        url_guard:
            enabled: false
            max_redirects: 5
            max_response_bytes: 8388608

Shop URLs come from whoever installs your app, so they can point into your own network. The URL guard refuses anything but https:// to a public IP address, also on redirects, and caps redirects and response size. Enable it in production; local shops usually run on http://localhost:

when@prod:
    shopware_app:
        shop_http_client:
            url_guard: true

Your own decorators of shopware_app.shop_http_client run before the guard with a priority below 16, and after it with a priority above 16.