This package provides an SDK for Laravel to connect to Shopware 6 default API scheme.
This package is a WIP and will be updated on the main branch until stable.
Publish config file:
php artisan vendor:publish --provider="GeNyaa\ShopwareApiSdk\ShopwareApiSdkServiceProvider" --tag="config"
Initial client:
$client = app(\GeNyaa\ShopwareApiSdk\ShopwareApiClient::class);
Creates a resource collection of Resource(s).
Example usage:
use GeNyaa\ShopwareApiSdk\Dto\Resources\Category;
shopwareCollect(Category::class, []);
Creates a CustomFields class from array.
Example usage:
shopwareCustomFields([
'fieldName' => 'fieldValue',
]);
Creates a Parameters class from array.
Example usage:
shopwareParameters([
'parameterName' => 'parameterValue',
]);
Creates a Header class from array.
Example usage:
shopwareHeader([
'headerName' => 'headerValue',
]);
Generates a Uuid to Shopware spec.