A Laravel package to help integrate Shopware PHP SDK much more easier
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!
- Context, ShopRepository auto-binding
- SwAppMiddleware (alias: 'sas.app.auth'): A middleware to verify incoming webhook requests
- SwAppIframeMiddleware (alias: 'sas.app.auth.iframe:?app_name'): A middleware to verify incoming requests from Iframe Shopware (
app_name
is the name of the App) - SwAppHeaderMiddleware (alias: 'sas.app.auth.header'): A middleware to verify incoming requests from Headers requests
Please see CHANGELOG for more information on what has changed recently.
Feels free to create an issue on Github issues page or contact us directly at hello@shapeandshift.dev
If you discover any security related issues, please email hello@shapeandshift.dev instead of using the issue tracker.
- ext-curl
- PHP 7.4 / 8.0
- 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
The MIT License (MIT). Please see License File for more information.