PHP code example of ikuzostudio / google-ads-plugin

1. Go to this page and download the library: Download ikuzostudio/google-ads-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 / google-ads-plugin example snippets


return [
  // ...
  Ikuzo\SyliusGoogleAdsPlugin\IkuzoSyliusGoogleAdsPlugin::class => ['all' => true],
];

// [...]
use Sylius\Component\Core\Model\Order as BaseOrder;
use Ikuzo\SyliusGoogleAdsPlugin\Model\GoogleAdsOrderInterface;
use Ikuzo\SyliusGoogleAdsPlugin\Model\GoogleAdsOrderTrait;

/**
 * @ORM\Table(name="sylius_order")
 * @ORM\Entity()
 */
class Order extends BaseOrder implements GoogleAdsOrderInterface
{
    use GoogleAdsOrderTrait;
}