ikuzostudio / google-ads-plugin
Track order from Google Ads.
Installs: 254
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:sylius-plugin
Requires
- php: ^8.0
- sylius/sylius: ^1.11
Requires (Dev)
- behat/behat: ^3.6.1
- behat/mink-selenium2-driver: ^1.4
- dmore/behat-chrome-extension: ^1.3
- dmore/chrome-mink-driver: ^2.7
- friends-of-behat/mink: ^1.8
- friends-of-behat/mink-browserkit-driver: ^1.4
- friends-of-behat/mink-debug-extension: ^2.0.0
- friends-of-behat/mink-extension: ^2.4
- friends-of-behat/page-object-extension: ^0.3
- friends-of-behat/suite-settings-extension: ^1.0
- friends-of-behat/symfony-extension: ^2.1
- friends-of-behat/variadic-extension: ^1.3
- friendsofsymfony/oauth-server-bundle: ^1.6 || >2.0.0-alpha.0 ^2.0@dev
- phpspec/phpspec: ^7.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: 0.12.99
- phpstan/phpstan-doctrine: 0.12.33
- phpstan/phpstan-strict-rules: ^0.12.0
- phpstan/phpstan-webmozart-assert: 0.12.12
- phpunit/phpunit: ^9.5
- polishsymfonycommunity/symfony-mocker-container: ^1.0
- sensiolabs/security-checker: ^6.0
- sylius-labs/coding-standard: ^4.0
- symfony/browser-kit: ^5.4
- symfony/debug-bundle: ^5.4
- symfony/dotenv: ^5.4
- symfony/intl: ^5.4
- symfony/web-profiler-bundle: ^5.4
- vimeo/psalm: 4.7.1
This package is auto-updated.
Last update: 2025-03-01 00:38:39 UTC
README
Google Ads Plugin
Track Google Ads orders into Sylius.
/!\ Currently in alpha /!\
Quickstart
$ composer require ikuzostudio/google-ads-plugin
Add plugin dependencies to your config/bundles.php
file:
return [ // ... Ikuzo\SyliusGoogleAdsPlugin\IkuzoSyliusGoogleAdsPlugin::class => ['all' => true], ];
Import required config in your config/packages/_sylius.yaml
file:
# config/packages/_sylius.yaml imports: ... - { resource: "@IkuzoSyliusGoogleAdsPlugin/Resources/config/app/config.yaml"}
Extend your Order entity
// [...] 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; }
Update your database
$ bin/console doctrine:schema:update --force