PHP code example of magento / module-upward-connector
1. Go to this page and download the library: Download magento/module-upward-connector 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/ */
magento / module-upward-connector example snippets
// ...
'downloadable_domains' => [
// ...
],
# New configuration point
'pwa_path' => [
'default' => [
'default' => '/var/www/html/pwa/dist/upward.yml'
],
'website' => [
'<website_code>' => '/var/www/html/anotherpwa/dist/upward.yml' # Can point a website to a different installation
],
'store' => [
'<store_code>' => '' # Blank string (or false) to serve default Magento storefront
]
]