PHP code example of ikuzostudio / coliship-plugin
1. Go to this page and download the library: Download ikuzostudio/coliship-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/ */
ikuzostudio / coliship-plugin example snippets
return [
// ...
Ikuzo\SyliusColishipPlugin\IkuzoSyliusColishipPlugin::class => ['all' => true],
];
declare(strict_types=1);
namespace App\Entity\Shipping;
// [...]
use Sylius\Component\Core\Model\Shipment as BaseShipment;
use Ikuzo\SyliusColishipPlugin\Model\ShippingExportTrait;
/**
* @ORM\Entity
* @ORM\Table(name="sylius_shipment")
*/
class Shipment extends BaseShipment
{
use ShippingExportTrait;
}