PHPackages                             team-nifty-gmbh/laravel-shopware - 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. [API Development](/categories/api)
4. /
5. team-nifty-gmbh/laravel-shopware

ActiveLibrary[API Development](/categories/api)

team-nifty-gmbh/laravel-shopware
================================

Laravel integration for the Shopware 6 Admin API SDK

075↓86.2%PHPCI passing

Since Mar 25Pushed 3mo agoCompare

[ Source](https://github.com/Team-Nifty-GmbH/laravel-shopware)[ Packagist](https://packagist.org/packages/team-nifty-gmbh/laravel-shopware)[ RSS](/packages/team-nifty-gmbh-laravel-shopware/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Shopware
================

[](#laravel-shopware)

Laravel integration for the [Shopware 6 Admin API SDK](https://github.com/team-nifty-gmbh/shopware-sdk).

Provides a ServiceProvider, Facade, config, and global helper for seamless Shopware 6 API access in Laravel applications.

Installation
------------

[](#installation)

```
composer require team-nifty-gmbh/laravel-shopware
```

The ServiceProvider is auto-discovered. Publish the config:

```
php artisan vendor:publish --tag=shopware-config
```

Configuration
-------------

[](#configuration)

Add to your `.env`:

```
SHOPWARE_BASE_URL=https://your-shop.example.com/api
SHOPWARE_CLIENT_ID=your-client-id
SHOPWARE_CLIENT_SECRET=your-client-secret
```

Usage
-----

[](#usage)

### Via Helper

[](#via-helper)

```
// Get all products
$products = shopware6()->product()->getProductList();

// Create a product
$response = shopware6()->product()->createProduct([
    'name' => 'My Product',
    'productNumber' => 'SW-001',
    'stock' => 100,
    'taxId' => '...',
    'price' => [['currencyId' => '...', 'gross' => 19.99, 'net' => 16.80, 'linked' => true]],
]);

// Search with criteria
use TeamNiftyGmbH\Shopware\Support\CriteriaBuilder;

$criteria = CriteriaBuilder::make()
    ->equals('active', true)
    ->contains('name', 'shirt')
    ->sort('name')
    ->limit(10)
    ->association('manufacturer')
    ->toArray();

$results = shopware6()->product()->searchProduct($criteria);
```

### Via Facade

[](#via-facade)

```
use TeamNiftyGmbH\LaravelShopware\Facades\Shopware;

$order = Shopware::order()->getOrder($orderId);
```

### Via Dependency Injection

[](#via-dependency-injection)

```
use TeamNiftyGmbH\Shopware\Shopware;

class OrderSyncService
{
    public function __construct(
        protected Shopware $shopware,
    ) {}

    public function syncOrders(): void
    {
        $orders = $this->shopware->order()->getOrderList();
        // ...
    }
}
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance55

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/315f809551baee16f7c5531f89a864b4d5b59bde8882779c30d4a01ae36e718e?d=identicon)[team-nifty](/maintainers/team-nifty)

---

Top Contributors

[![patrickweh](https://avatars.githubusercontent.com/u/40495041?v=4)](https://github.com/patrickweh "patrickweh (6 commits)")

### Embed Badge

![Health badge](/badges/team-nifty-gmbh-laravel-shopware/health.svg)

```
[![Health](https://phpackages.com/badges/team-nifty-gmbh-laravel-shopware/health.svg)](https://phpackages.com/packages/team-nifty-gmbh-laravel-shopware)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)[pixelant/pxa-social-feed

Add Facebook, Instagram, and Twitter feeds to your site.

2349.3k](/packages/pixelant-pxa-social-feed)

PHPackages © 2026

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