PHP code example of arobases / sylius-transporter-label-generation-plugin
1. Go to this page and download the library: Download arobases/sylius-transporter-label-generation-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/ */
arobases / sylius-transporter-label-generation-plugin example snippets
bash
# config/bundles.php
return [
Arobases\SyliusTransporterLabelGenerationPlugin\ArobasesSyliusTransporterLabelGenerationPlugin::class => ['all' => true],
];
bash
# Form/Extension/Product/ProductTypeExtension.php
->add('hsCode', TextType::class,[
'label' => "arobases_sylius_transporter_label_generation_plugin.form.product.hs_code",
'