PHP code example of phpsa / sc-free-shipping

1. Go to this page and download the library: Download phpsa/sc-free-shipping 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/ */

    

phpsa / sc-free-shipping example snippets


'shipping' => [
  'methods' => [
    ...
    \Phpsa\ScFreeShipping\ShippingMethods\FreeShipping::class
  ],
],

bash
php artisan vendor:publish --provider="Phpsa\ScFreeShipping\ServiceProvider" --tag="config"