Browse code

Adjust legacy code to account for missing class aliases in Contao 5.x

Benjamin Roth authored on24/10/2023 16:02:29
Showing1 changed files
... ...
@@ -23,6 +23,12 @@
23 23
     "contao/manager-plugin": "^2.0",
24 24
     "friendsofphp/php-cs-fixer": "^2.6"
25 25
   },
26
+  "config": {
27
+    "allow-plugins": {
28
+      "contao-components/installer": true,
29
+      "contao/manager-plugin": true
30
+    }
31
+  },
26 32
   "extra": {
27 33
     "contao-manager-plugin": "EsalesMedia\\ContaoSwiperBundle\\ContaoManager\\Plugin"
28 34
   },
Browse code

Update composer.json

Benjamin Roth authored on22/02/2023 21:21:53
Showing1 changed files
... ...
@@ -12,7 +12,7 @@
12 12
   ],
13 13
   "require":{
14 14
     "php": ">=7.4",
15
-    "contao/core-bundle": "^4.4",
15
+    "contao/core-bundle": "^4.4 || ^5.0",
16 16
     "menatwork/contao-multicolumnwizard-bundle": "^3.4"
17 17
   },
18 18
   "conflict": {
Browse code

Refactor and rewrite as contao bundle

Benjamin Roth authored on04/11/2022 22:32:32
Showing1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
   "name":"esalesmedia/contao-swiperjs-slider",
3 3
   "description":"Versatile Slider with a bunch of options",
4 4
   "keywords":["contao", "slider", "swiper", "swiperjs", "swiperjs-slider", "swiper-slider", "hero"],
5
-  "type":"contao-module",
5
+  "type":"contao-bundle",
6 6
   "license":"LGPL-3.0+",
7 7
   "authors":[
8 8
     {
... ...
@@ -19,11 +19,24 @@
19 19
     "contao/core": "*",
20 20
     "contao/manager-plugin": "<2.0 || >=3.0"
21 21
   },
22
-  "extra":{
23
-    "contao": {
24
-      "sources":{
25
-        "": "system/modules/eSM_swiper"
26
-      }
22
+  "require-dev": {
23
+    "contao/manager-plugin": "^2.0",
24
+    "friendsofphp/php-cs-fixer": "^2.6"
25
+  },
26
+  "extra": {
27
+    "contao-manager-plugin": "EsalesMedia\\ContaoSwiperBundle\\ContaoManager\\Plugin"
28
+  },
29
+  "autoload": {
30
+    "psr-4": {
31
+      "EsalesMedia\\ContaoSwiperBundle\\": "src/"
27 32
     }
33
+  },
34
+  "autoload-dev": {
35
+    "psr-4": {
36
+      "EsalesMedia\\ContaoSwiperBundle\\Tests\\": "tests/"
37
+    }
38
+  },
39
+  "support": {
40
+    "issues": "https://www.esales-media.de"
28 41
   }
29
-}
30 42
\ No newline at end of file
43
+}
Browse code

Bump up PHP version requirement

Benjamin Roth authored on04/11/2022 19:35:44
Showing1 changed files
... ...
@@ -11,7 +11,7 @@
11 11
     }
12 12
   ],
13 13
   "require":{
14
-    "php": "^5.6 || ^7.0",
14
+    "php": ">=7.4",
15 15
     "contao/core-bundle": "^4.4",
16 16
     "menatwork/contao-multicolumnwizard-bundle": "^3.4"
17 17
   },
Browse code

Add responsive breakpoints options

Benjamin Roth authored on13/10/2020 19:05:02
Showing1 changed files
... ...
@@ -12,7 +12,8 @@
12 12
   ],
13 13
   "require":{
14 14
     "php": "^5.6 || ^7.0",
15
-    "contao/core-bundle": "^4.4"
15
+    "contao/core-bundle": "^4.4",
16
+    "menatwork/contao-multicolumnwizard-bundle": "^3.4"
16 17
   },
17 18
   "conflict": {
18 19
     "contao/core": "*",
Browse code

Initial commit

Benjamin Roth authored on19/05/2020 21:59:44
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,28 @@
1
+{
2
+  "name":"esalesmedia/contao-swiperjs-slider",
3
+  "description":"Versatile Slider with a bunch of options",
4
+  "keywords":["contao", "slider", "swiper", "swiperjs", "swiperjs-slider", "swiper-slider", "hero"],
5
+  "type":"contao-module",
6
+  "license":"LGPL-3.0+",
7
+  "authors":[
8
+    {
9
+      "name": "Benjamin Roth",
10
+      "homepage": "https://www.esales-media.de"
11
+    }
12
+  ],
13
+  "require":{
14
+    "php": "^5.6 || ^7.0",
15
+    "contao/core-bundle": "^4.4"
16
+  },
17
+  "conflict": {
18
+    "contao/core": "*",
19
+    "contao/manager-plugin": "<2.0 || >=3.0"
20
+  },
21
+  "extra":{
22
+    "contao": {
23
+      "sources":{
24
+        "": "system/modules/eSM_swiper"
25
+      }
26
+    }
27
+  }
28
+}
0 29
\ No newline at end of file