Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Shopware Sdk Bundle Laravel Package

enm/shopware-sdk-bundle

View on GitHub
Deep Wiki
Context7

Shopware SDK Bundle

A symfony integration for enm/shopware-sdk.

The Bundle provides the default implementation of enm/shopware-sdk with guzzlehttp/guzzle and jms/serializer as service.

It requires the jms/serializer-bundle to be enabled in the AppKernel.

Build Status SensioLabsInsight

Installation

composer require enm/shopware-sdk-bundle

In your AppKernel:

/**
 * @return array
 */
public function registerBundles()
{
    $bundles = [
      // ...
      new \JMS\SerializerBundle\JMSSerializerBundle(),
      new \Enm\Bundle\ShopwareSdk\EnmShopwareSdkBundle(),
    ];
     // ...
     
    return $bundles;
}

Configuration

Simply configure your shop connection over the global config.yml:

enm_shopware_sdk:
    base_url: "http://your-shop.com"
    username: "test"
    api_key: "test"

This bundle overwrites the default naming strategy of the serializer with IdenticalPropertyNamingStrategy.

Usage

/** @var \Enm\Bundle\ShopwareSdk\EntryPoint $shopwareClient */
$entryPoint = $container->get('enm.shopware.entry_point');

Tests

php vendor/bin/phpunit
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums