1. Go to this page and download the library: Download sas/shopware-laravel-sdk library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sas / shopware-laravel-sdk example snippets
/**
* 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'),
];
shell
php artisan migrate
shell
php artisan vendor:publish
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.