PHP code example of guiziweb / sylius-token-plugin

1. Go to this page and download the library: Download guiziweb/sylius-token-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/ */

    

guiziweb / sylius-token-plugin example snippets


$this->tokenConsumer->consume($customer, $price, 'image-generation-4521');