Skip to content

Commit 8aa0dc6

Browse files
committed
Add spinbits plugin
1 parent 6a2ba31 commit 8aa0dc6

5 files changed

Lines changed: 21 additions & 1 deletion

File tree

composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,18 @@
44
"keywords": ["sylius", "sylius-plugin"],
55
"description": "Integration with User.com for Sylius.",
66
"license": "MIT",
7+
"repositories": [
8+
{
9+
"type": "vcs",
10+
"url": "https://github.com/BitBagCommerce/sylius-google-analytics-plugin.git"
11+
}
12+
],
713
"require": {
814
"php": "^8.1",
915
"bitbag/coding-standard": "^3.0",
1016
"sylius/sylius": "~1.13.0",
11-
"symfony/webpack-encore-bundle": "^1.15"
17+
"symfony/webpack-encore-bundle": "^1.15",
18+
"spinbits/google-analytics-4-plugin": "dev-test/bump-sylius-version"
1219
},
1320
"require-dev": {
1421
"behat/behat": "^3.6.1",

config/bundles.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
return [
4+
Spinbits\SyliusGoogleAnalytics4Plugin\SpinbitsSyliusGoogleAnalytics4Plugin::class => ['all' => true],
5+
];

symfony.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@
202202
"ref": "9c8a1e8ce2b1f215015ed16652c4ed18eb5867fd"
203203
}
204204
},
205+
"spinbits/google-analytics-4-plugin": {
206+
"version": "dev-test/bump-sylius-version"
207+
},
205208
"squizlabs/php_codesniffer": {
206209
"version": "3.7",
207210
"recipe": {

tests/Application/config/bundles.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,5 @@
5959
Sylius\Calendar\SyliusCalendarBundle::class => ['all' => true],
6060
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
6161
League\FlysystemBundle\FlysystemBundle::class => ['all' => true],
62+
Spinbits\SyliusGoogleAnalytics4Plugin\SpinbitsSyliusGoogleAnalytics4Plugin::class => ['all' => true],
6263
];

tests/Application/config/services.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Put parameters here that don't need to change on each machine where the app is deployed
22
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
3+
4+
spinbits_sylius_google_analytics4:
5+
id: '%env(TAG_MANAGER_ID)%'
6+
37
parameters:
48
locale: en_US
59

0 commit comments

Comments
 (0)