PHP code example of softcode / module-gls
1. Go to this page and download the library: Download softcode/module-gls 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/ */
softcode / module-gls example snippets
xml
<type name="Softcode\Gls\Model\Shippability">
<arguments>
<argument name="rules" xsi:type="array">
<item name="courses" xsi:type="object">Vendor\Module\Model\CourseShippingRule</item>
</argument>
</arguments>
</type>