PHP code example of lunarphp / table-rate-shipping
1. Go to this page and download the library: Download lunarphp/table-rate-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/ */
lunarphp / table-rate-shipping example snippets
use Lunar\Admin\Support\Facades\LunarPanel;
use Lunar\Shipping\ShippingPlugin;
// ...
public function register(): void
{
LunarPanel::panel(function (Panel $panel) {
return $panel->plugin(new ShippingPlugin());
})->register();
// ...
}