Skip to content

This is a Laravel SDK for the Shopware API and App System

License

Notifications You must be signed in to change notification settings

webds/shopware-laravel-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopware 6 Laravel SDK

php

Latest Version on Packagist Software License

A Laravel package to help integrate Shopware PHP SDK much more easier

Installation

Install with Composer

composer require sas/shopware-laravel-sdk

Migrate shop table

php artisan migrate

Publish config file - Change /config/sas_app.php for your specific app's configuration

php artisan vendor:publish
<?php 

/** 
 * config/sas_app.php
 * These credentials need to match with the your predefined manifest.xml 
 */
return [
  "app_name" => env('SW_APP_NAME', 'MyApp'),
  "app_secret" => env('SW_APP_SECRET', 'MyAppSecret'),
  "registration_url" => env('SW_APP_REGISTRATION_URL', '/app-registration'),
  "confirmation_url" => env('SW_APP_CONFIRMATION_URL', '/app-registration-confirmation'),
];

Your app is now ready to install by a Shopware application!

Usage

  • Context, ShopRepository auto-binding
  • SwAppMiddleware (alias: 'sas.app.auth'): A middleware to verify incoming webhook requests

Change log

Please see CHANGELOG for more information on what has changed recently.

Contribution

Feels free to create an issue on Github issues page or contact us directly at hello@shapeandshift.dev

Security

If you discover any security related issues, please email hello@shapeandshift.dev instead of using the issue tracker.

Requirements

  • ext-curl
  • PHP 7.4
  • vin-sw/shopware-php-sdk >= 1.0

This SDK is mainly dedicated to Shopware 6.4 and onwards, earlier SW application may still be usable without test

Credits

License

The MIT License (MIT). Please see License File for more information.

About

This is a Laravel SDK for the Shopware API and App System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages