PHP code example of waaz / sylius-mondial-relay-plugin

1. Go to this page and download the library: Download waaz/sylius-mondial-relay-plugin 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/ */

    

waaz / sylius-mondial-relay-plugin example snippets


BitBag\SyliusShippingExportPlugin\BitBagSyliusShippingExportPlugin::class => ['all' => true],
Magentix\SyliusPickupPlugin\MagentixSyliusPickupPlugin::class => ['all' => true],
Magentix\SyliusMondialRelayPlugin\MagentixSyliusMondialRelayPlugin::class => ['all' => true],

# app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        ...
        new \BitBag\SyliusShippingExportPlugin\BitBagSyliusShippingExportPlugin(),
        new \Magentix\SyliusPickupPlugin\MagentixSyliusPickupPlugin(),
        new \Magentix\SyliusMondialRelayPlugin\MagentixSyliusMondialRelayPlugin(),
    ];
}
bash
php bin/console sylius:theme:assets:install