@lando/drupal 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/.nyc_output/processinfo/04a86689-14a3-47da-804c-808686e42f49.json +1 -0
  2. package/.nyc_output/processinfo/12087890-64da-4135-aa45-963518446397.json +1 -0
  3. package/.nyc_output/processinfo/index.json +1 -1
  4. package/CHANGELOG.md +4 -0
  5. package/coverage/index.html +1 -1
  6. package/coverage/utils.js.html +1 -1
  7. package/coverage/warnings.js.html +1 -1
  8. package/netlify.toml +14 -7
  9. package/node_modules/@lando/php/.lando.yml +19 -9
  10. package/node_modules/@lando/php/.nyc_output/processinfo/8945ae9f-6c30-497d-adf7-68dc36912251.json +1 -0
  11. package/node_modules/@lando/php/.nyc_output/processinfo/ef5412bf-389b-4667-ab9c-d214afae0c2b.json +1 -0
  12. package/node_modules/@lando/php/.nyc_output/processinfo/index.json +1 -1
  13. package/node_modules/@lando/php/CHANGELOG.md +39 -13
  14. package/node_modules/@lando/php/README.md +5 -0
  15. package/node_modules/@lando/php/builders/php.js +6 -8
  16. package/node_modules/@lando/php/coverage/index.html +1 -1
  17. package/node_modules/@lando/php/images/5.6-apache/Dockerfile +7 -2
  18. package/node_modules/@lando/php/images/5.6-fpm/Dockerfile +7 -2
  19. package/node_modules/@lando/php/images/7.0-apache/Dockerfile +7 -2
  20. package/node_modules/@lando/php/images/7.0-fpm/Dockerfile +7 -2
  21. package/node_modules/@lando/php/images/7.1-apache/Dockerfile +8 -8
  22. package/node_modules/@lando/php/images/7.1-fpm/Dockerfile +8 -8
  23. package/node_modules/@lando/php/images/7.2-apache/Dockerfile +9 -9
  24. package/node_modules/@lando/php/images/7.2-fpm/Dockerfile +9 -9
  25. package/node_modules/@lando/php/images/7.3-apache/Dockerfile +2 -6
  26. package/node_modules/@lando/php/images/7.3-fpm/Dockerfile +2 -6
  27. package/node_modules/@lando/php/images/7.4-apache/Dockerfile +2 -6
  28. package/node_modules/@lando/php/images/7.4-fpm/Dockerfile +2 -6
  29. package/node_modules/@lando/php/images/8.0-apache/Dockerfile +2 -6
  30. package/node_modules/@lando/php/images/8.0-fpm/Dockerfile +2 -6
  31. package/node_modules/@lando/php/images/8.1-apache/Dockerfile +2 -6
  32. package/node_modules/@lando/php/images/8.1-fpm/Dockerfile +2 -6
  33. package/node_modules/@lando/php/images/8.2-apache/Dockerfile +2 -6
  34. package/node_modules/@lando/php/images/8.2-fpm/Dockerfile +2 -6
  35. package/node_modules/@lando/php/images/8.3-apache/Dockerfile +2 -6
  36. package/node_modules/@lando/php/images/8.3-fpm/Dockerfile +2 -6
  37. package/node_modules/@lando/php/images/8.4-apache/Dockerfile +56 -0
  38. package/node_modules/@lando/php/images/8.4-fpm/Dockerfile +56 -0
  39. package/node_modules/@lando/php/netlify.toml +12 -9
  40. package/node_modules/@lando/php/node_modules/@lando/nginx/.eslintignore +3 -2
  41. package/node_modules/@lando/php/node_modules/@lando/nginx/.lando.yml +20 -10
  42. package/node_modules/@lando/php/node_modules/@lando/nginx/.node-version +1 -1
  43. package/node_modules/@lando/php/node_modules/@lando/nginx/CHANGELOG.md +40 -19
  44. package/node_modules/@lando/php/node_modules/@lando/nginx/README.md +6 -0
  45. package/node_modules/@lando/php/node_modules/@lando/nginx/builders/nginx.js +17 -18
  46. package/node_modules/@lando/php/node_modules/@lando/nginx/config/launch.sh +8 -2
  47. package/node_modules/@lando/php/node_modules/@lando/nginx/netlify.toml +28 -6
  48. package/node_modules/@lando/php/node_modules/@lando/nginx/package.json +21 -14
  49. package/node_modules/@lando/php/node_modules/@lando/nginx/scripts/install-render-template.sh +47 -0
  50. package/node_modules/@lando/php/node_modules/@lando/nginx/utils/add-build-step.js +14 -0
  51. package/node_modules/@lando/php/node_modules/semver/README.md +49 -32
  52. package/node_modules/@lando/php/node_modules/semver/bin/semver.js +5 -14
  53. package/node_modules/@lando/php/node_modules/semver/classes/range.js +28 -13
  54. package/node_modules/@lando/php/node_modules/semver/classes/semver.js +1 -1
  55. package/node_modules/@lando/php/node_modules/semver/functions/coerce.js +13 -5
  56. package/node_modules/@lando/php/node_modules/semver/internal/lrucache.js +40 -0
  57. package/node_modules/@lando/php/node_modules/semver/internal/re.js +7 -2
  58. package/node_modules/@lando/php/node_modules/semver/package.json +8 -18
  59. package/node_modules/@lando/php/package.json +11 -10
  60. package/package.json +11 -10
  61. package/.nyc_output/processinfo/6d92909c-717b-4b53-aebd-a6ff4aeaa3cf.json +0 -1
  62. package/.nyc_output/processinfo/aec5897c-1dc1-4734-99fa-e8ce5cb81dde.json +0 -1
  63. package/node_modules/@lando/php/.nyc_output/processinfo/927b5cd6-2a94-4b26-ac08-3ff93f5da197.json +0 -1
  64. package/node_modules/@lando/php/.nyc_output/processinfo/b107e51d-27b5-4645-90dd-ca6c345830fa.json +0 -1
  65. package/node_modules/@lando/php/images/5.3-apache/Dockerfile +0 -83
  66. package/node_modules/@lando/php/images/5.3-apache/apache2.conf +0 -64
  67. package/node_modules/@lando/php/images/5.3-fpm/Dockerfile +0 -80
  68. package/node_modules/@lando/php/images/5.3-fpm/docker-php-ext-enable +0 -83
  69. package/node_modules/@lando/php/images/5.3-fpm/php-fpm.conf +0 -65
  70. package/node_modules/@lando/php/images/5.4-apache/Dockerfile +0 -79
  71. package/node_modules/@lando/php/images/5.4-apache/apache2-foreground +0 -17
  72. package/node_modules/@lando/php/images/5.4-fpm/Dockerfile +0 -75
  73. package/node_modules/@lando/php/images/5.5-apache/Dockerfile +0 -77
  74. package/node_modules/@lando/php/images/5.5-fpm/Dockerfile +0 -76
  75. package/node_modules/@lando/php/node_modules/@lando/nginx/.nyc_output/68963536-315a-41b5-9dda-1c3f30fb9c99.json +0 -1
  76. package/node_modules/@lando/php/node_modules/@lando/nginx/.nyc_output/e965c931-7444-4e4e-8bc1-c51f696e4cfe.json +0 -1
  77. package/node_modules/@lando/php/node_modules/@lando/nginx/.nyc_output/processinfo/68963536-315a-41b5-9dda-1c3f30fb9c99.json +0 -1
  78. package/node_modules/@lando/php/node_modules/@lando/nginx/.nyc_output/processinfo/e965c931-7444-4e4e-8bc1-c51f696e4cfe.json +0 -1
  79. package/node_modules/@lando/php/node_modules/@lando/nginx/.nyc_output/processinfo/index.json +0 -1
  80. package/node_modules/@lando/php/node_modules/@lando/nginx/coverage/base.css +0 -224
  81. package/node_modules/@lando/php/node_modules/@lando/nginx/coverage/block-navigation.js +0 -87
  82. package/node_modules/@lando/php/node_modules/@lando/nginx/coverage/favicon.png +0 -0
  83. package/node_modules/@lando/php/node_modules/@lando/nginx/coverage/index.html +0 -101
  84. package/node_modules/@lando/php/node_modules/@lando/nginx/coverage/prettify.css +0 -1
  85. package/node_modules/@lando/php/node_modules/@lando/nginx/coverage/prettify.js +0 -2
  86. package/node_modules/@lando/php/node_modules/@lando/nginx/coverage/sort-arrow-sprite.png +0 -0
  87. package/node_modules/@lando/php/node_modules/@lando/nginx/coverage/sorter.js +0 -196
  88. package/node_modules/@lando/php/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
  89. package/node_modules/@lando/php/node_modules/semver/node_modules/lru-cache/README.md +0 -166
  90. package/node_modules/@lando/php/node_modules/semver/node_modules/lru-cache/index.js +0 -334
  91. package/node_modules/@lando/php/node_modules/semver/node_modules/lru-cache/package.json +0 -34
  92. package/node_modules/@lando/php/node_modules/semver/node_modules/yallist/LICENSE +0 -15
  93. package/node_modules/@lando/php/node_modules/semver/node_modules/yallist/README.md +0 -204
  94. package/node_modules/@lando/php/node_modules/semver/node_modules/yallist/iterator.js +0 -8
  95. package/node_modules/@lando/php/node_modules/semver/node_modules/yallist/package.json +0 -29
  96. package/node_modules/@lando/php/node_modules/semver/node_modules/yallist/yallist.js +0 -426
  97. /package/.nyc_output/{aec5897c-1dc1-4734-99fa-e8ce5cb81dde.json → 04a86689-14a3-47da-804c-808686e42f49.json} +0 -0
  98. /package/.nyc_output/{6d92909c-717b-4b53-aebd-a6ff4aeaa3cf.json → 12087890-64da-4135-aa45-963518446397.json} +0 -0
  99. /package/node_modules/@lando/php/.nyc_output/{927b5cd6-2a94-4b26-ac08-3ff93f5da197.json → 8945ae9f-6c30-497d-adf7-68dc36912251.json} +0 -0
  100. /package/node_modules/@lando/php/.nyc_output/{b107e51d-27b5-4645-90dd-ca6c345830fa.json → ef5412bf-389b-4667-ab9c-d214afae0c2b.json} +0 -0
  101. /package/node_modules/@lando/php/{tmpfile → node_modules/@lando/nginx/tmpfile} +0 -0
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":2407,"argv":["/opt/hostedtoolcache/node/18.20.4/x64/bin/node","/home/runner/work/drupal/drupal/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/drupal/drupal","time":1729287882011,"ppid":2406,"coverageFilename":"/home/runner/work/drupal/drupal/.nyc_output/04a86689-14a3-47da-804c-808686e42f49.json","externalId":"","uuid":"04a86689-14a3-47da-804c-808686e42f49","files":["/home/runner/work/drupal/drupal/lib/utils.js","/home/runner/work/drupal/drupal/lib/warnings.js"]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":2418,"argv":["/opt/hostedtoolcache/node/18.20.4/x64/bin/node","/home/runner/work/drupal/drupal/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/drupal/drupal","time":1729287882461,"ppid":2407,"coverageFilename":"/home/runner/work/drupal/drupal/.nyc_output/12087890-64da-4135-aa45-963518446397.json","externalId":"","uuid":"12087890-64da-4135-aa45-963518446397","files":[]}
@@ -1 +1 @@
1
- {"processes":{"6d92909c-717b-4b53-aebd-a6ff4aeaa3cf":{"parent":null,"children":[]},"aec5897c-1dc1-4734-99fa-e8ce5cb81dde":{"parent":null,"children":[]}},"files":{"/home/runner/work/drupal/drupal/lib/utils.js":["aec5897c-1dc1-4734-99fa-e8ce5cb81dde"],"/home/runner/work/drupal/drupal/lib/warnings.js":["aec5897c-1dc1-4734-99fa-e8ce5cb81dde"]},"externalIds":{}}
1
+ {"processes":{"04a86689-14a3-47da-804c-808686e42f49":{"parent":null,"children":[]},"12087890-64da-4135-aa45-963518446397":{"parent":null,"children":[]}},"files":{"/home/runner/work/drupal/drupal/lib/utils.js":["04a86689-14a3-47da-804c-808686e42f49"],"/home/runner/work/drupal/drupal/lib/warnings.js":["04a86689-14a3-47da-804c-808686e42f49"]},"externalIds":{}}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
2
2
 
3
+ ## v1.8.0 - [October 18, 2024](https://github.com/lando/drupal/releases/tag/v1.8.0)
4
+
5
+ * Updated lando/php to v1.5.0.
6
+
3
7
  ## v1.7.0 - [September 30, 2024](https://github.com/lando/drupal/releases/tag/v1.7.0)
4
8
 
5
9
  * Updated lando/mariadb to v1.5.0.
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2024-09-30T21:34:39.330Z
119
+ at 2024-10-18T21:44:42.666Z
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
@@ -529,7 +529,7 @@ const getDrushUrl = <span class="cstat-no" title="statement not covered" ><span
529
529
  <div class='footer quiet pad2 space-top1 center small'>
530
530
  Code coverage generated by
531
531
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
532
- at 2024-09-30T21:34:39.330Z
532
+ at 2024-10-18T21:44:42.666Z
533
533
  </div>
534
534
  <script src="prettify.js"></script>
535
535
  <script>
@@ -109,7 +109,7 @@
109
109
  <div class='footer quiet pad2 space-top1 center small'>
110
110
  Code coverage generated by
111
111
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
112
- at 2024-09-30T21:34:39.330Z
112
+ at 2024-10-18T21:44:42.666Z
113
113
  </div>
114
114
  <script src="prettify.js"></script>
115
115
  <script>
package/netlify.toml CHANGED
@@ -1,8 +1,21 @@
1
1
  [build]
2
2
  base = "./"
3
3
  publish = "docs/.vitepress/dist"
4
+ command = "npm run docs:mvb"
5
+
6
+ [context.deploy-preview]
4
7
  command = "npm run docs:build"
5
8
 
9
+ # https://github.com/munter/netlify-plugin-checklinks#readme
10
+ [[context.deploy-preview.plugins]]
11
+ package = "netlify-plugin-checklinks"
12
+ [context.deploy-preview.plugins.inputs]
13
+ todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com", "/v/" ]
14
+ skipPatterns = [ ".rss", ".gif", ".jpg" ]
15
+ checkExternal = true
16
+
17
+
18
+
6
19
  # Sets our asset optimization
7
20
  [build.processing.css]
8
21
  bundle = true
@@ -28,13 +41,7 @@
28
41
  [plugins.inputs.audits]
29
42
  output_path = "reports/lighthouse.html"
30
43
 
31
- # https://github.com/munter/netlify-plugin-checklinks#readme
32
- [[plugins]]
33
- package = "netlify-plugin-checklinks"
34
- [plugins.inputs]
35
- todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com" ]
36
- skipPatterns = [ ".rss", ".gif", ".jpg" ]
37
- checkExternal = true
44
+
38
45
 
39
46
  # We need this so preview environments and the base site look ok on their own
40
47
  [[redirects]]
@@ -1,14 +1,24 @@
1
- name: lando-php-plugin
1
+ name: docs.php
2
+ proxy:
3
+ cli:
4
+ - docs.php.lndo.site:5173
2
5
  services:
3
- node:
4
- type: node:18
5
- build:
6
- - npm install
6
+ cli:
7
+ api: 4
8
+ image: node:18
9
+ command: sleep infinity
10
+ ports:
11
+ - 5173:5173/http
7
12
  scanner: false
8
- ssl: false
9
- sslExpose: false
13
+ user: node
14
+ build:
15
+ app: |
16
+ npm install
10
17
  tooling:
11
18
  node:
12
- service: node
19
+ service: cli
13
20
  npm:
14
- service: node
21
+ service: cli
22
+ vitepress:
23
+ service: cli
24
+ cmd: npx vitepress
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":2101,"argv":["/opt/hostedtoolcache/node/18.20.4/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1729213064367,"ppid":2090,"coverageFilename":"/home/runner/work/php/php/.nyc_output/8945ae9f-6c30-497d-adf7-68dc36912251.json","externalId":"","uuid":"8945ae9f-6c30-497d-adf7-68dc36912251","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":2090,"argv":["/opt/hostedtoolcache/node/18.20.4/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1729213064183,"ppid":2089,"coverageFilename":"/home/runner/work/php/php/.nyc_output/ef5412bf-389b-4667-ab9c-d214afae0c2b.json","externalId":"","uuid":"ef5412bf-389b-4667-ab9c-d214afae0c2b","files":[]}
@@ -1 +1 @@
1
- {"processes":{"927b5cd6-2a94-4b26-ac08-3ff93f5da197":{"parent":null,"children":[]},"b107e51d-27b5-4645-90dd-ca6c345830fa":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
1
+ {"processes":{"8945ae9f-6c30-497d-adf7-68dc36912251":{"parent":null,"children":[]},"ef5412bf-389b-4667-ab9c-d214afae0c2b":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
@@ -1,37 +1,63 @@
1
+ ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
2
+
3
+ ## v1.5.0 - [October 18, 2024](https://github.com/lando/php/releases/tag/v1.5.0)
4
+
5
+ * Added preliminary support for PHP 8.4RC2
6
+
7
+ ## v1.4.0 - [October 17, 2024](https://github.com/lando/php/releases/tag/v1.4.0)
8
+
9
+ * Fixed bug causing `CA` and `certs` to not be appropriately installed in the `appserver` when using `nginx`
10
+ * Updated to [@lando/nginx@1.3.0](https://github.com/lando/nginx/releases/tag/v1.3.0) [#131](https://github.com/lando/php/issues/131)
11
+ * Updated all images `>=5.6` to `gen4`
12
+
13
+ ## v1.3.0 - [March 8, 2024](https://github.com/lando/php/releases/tag/v1.3.0)
14
+
15
+ * Updated to latest database services.
16
+
1
17
  ## v1.2.0 - [February 16, 2024](https://github.com/lando/php/releases/tag/v1.2.0)
2
- * Get PHP image builds working to make PHP 8.3 images available. **Note Imagick is [temporarily unavailable](https://github.com/Imagick/imagick/pull/641)!**
3
- * Stable version of xdebug for PHP 8.3. [#91](https://github.com/lando/php/pull/91)
18
+
19
+ * Get PHP image builds working to make PHP 8.3 images available. **Note Imagick is [temporarily unavailable](https://github.com/Imagick/imagick/pull/641)!**
20
+ * Stable version of xdebug for PHP 8.3. [#91](https://github.com/lando/php/pull/91)
4
21
 
5
22
  ## v1.1.0 - [January 29, 2024](https://github.com/lando/php/releases/tag/v1.1.0)
6
- * Add support for PHP 8.3. [#77](https://github.com/lando/php/issues/77)
23
+
24
+ * Add support for PHP 8.3. [#77](https://github.com/lando/php/issues/77)
7
25
 
8
26
  ## v1.0.0 - [December 7, 2023](https://github.com/lando/php/releases/tag/v1.0.0)
9
- * Dialed fully for `lando update`
27
+
28
+ * Dialed fully for `lando update`
10
29
 
11
30
  ## v0.10.2 - [November 28, 2023](https://github.com/lando/php/releases/tag/v0.10.2)
12
- * Added option to override the image powering the service.
13
- * Removed apparmor step from image building.
31
+
32
+ * Added option to override the image powering the service.
33
+ * Removed apparmor step from image building.
14
34
 
15
35
  ## v0.10.1 - [November 27, 2023](https://github.com/lando/php/releases/tag/v0.10.1)
16
- * Removed relative references to dependencies.
17
- * Added nginxServiceType option so other services can override the default `php-nginx` service with their own.
36
+
37
+ * Removed relative references to dependencies.
38
+ * Added nginxServiceType option so other services can override the default `php-nginx` service with their own.
18
39
 
19
40
  ## v0.10.0 - [November 21, 2023](https://github.com/lando/php/releases/tag/v0.10.0)
20
- * Removed MultiViews from Apache config. [#66](https://github.com/lando/php/issues/66)
21
- * Isolated PHP to work as a standalone service. [#78](https://github.com/lando/php/pull/78)
41
+
42
+ * Removed MultiViews from Apache config. [#66](https://github.com/lando/php/issues/66)
43
+ * Isolated PHP to work as a standalone service. [#78](https://github.com/lando/php/pull/78)
22
44
 
23
45
  ## v0.9.0 - [July 3, 2023](https://github.com/lando/php/releases/tag/v0.9.0)
24
- * Removed bundle-dependencies and version-bump-prompt from plugin.
25
- * Updated package to use prepare-release-action.
26
- * Updated documentation to reflect new release process.
46
+
47
+ * Removed bundle-dependencies and version-bump-prompt from plugin.
48
+ * Updated package to use prepare-release-action.
49
+ * Updated documentation to reflect new release process.
27
50
 
28
51
  ## v0.8.0 - [April 17th, 2023](https://github.com/lando/php/releases/tag/v0.8.0)
52
+
29
53
  * Bumped Redis plugin to redis-5.3.7. [#57](https://github.com/lando/php/pull/57)
30
54
 
31
55
  ## v0.7.1 - [January 6th, 2023](https://github.com/lando/php/releases/tag/v0.7.1)
56
+
32
57
  * Added support for PHP 8.2 [#51](https://github.com/lando/php/pull/51)
33
58
 
34
59
  ## v0.7.0 - [December 12, 2022](https://github.com/lando/php/releases/tag/v0.7.0)
60
+
35
61
  * Added bundle-dependencies to release process.
36
62
  * Fixed bug in plugin dogfooding test.
37
63
 
@@ -39,6 +39,11 @@ If you'd like to report a bug or submit a feature request then please [use the i
39
39
 
40
40
  We try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/php/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/php/releases).
41
41
 
42
+ ## Maintainers
43
+
44
+ * [@pirog](https://github.com/pirog)
45
+ * [@reynoldsalec](https://github.com/reynoldsalec)
46
+
42
47
  ## Contributors
43
48
 
44
49
  <a href="https://github.com/lando/php/graphs/contributors">
@@ -67,7 +67,7 @@ const parseNginx = options => {
67
67
  options.remoteFiles.vhosts = '/opt/bitnami/nginx/conf/lando.conf';
68
68
  options.defaultFiles.vhosts = (options.ssl) ? 'default-ssl.conf.tpl' : 'default.conf.tpl';
69
69
  options.nginxSsl = options.ssl;
70
- options.ssl = false;
70
+ options.sslExpose = false;
71
71
  if (process.platform === 'win32') {
72
72
  options.volumes.push(`${options.confDest}/zz-lando.conf:/usr/local/etc/php-fpm.d/zz-lando.conf`);
73
73
  }
@@ -91,10 +91,9 @@ module.exports = {
91
91
  name: 'php',
92
92
  config: {
93
93
  version: '7.4',
94
- supported: ['8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
94
+ supported: ['8.4', '8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
95
95
  legacy: ['7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
96
96
  gen2: ['5.5', '5.4', '5.3'],
97
- gen3: ['7.2', '7.1', '7.0', '5.6'],
98
97
  path: [
99
98
  '/app/vendor/bin',
100
99
  '/app/bin',
@@ -125,6 +124,7 @@ module.exports = {
125
124
  _php: '/usr/local/etc/php/conf.d/xxx-lando-default.ini',
126
125
  vhosts: '/etc/apache2/sites-enabled/000-default.conf',
127
126
  php: '/usr/local/etc/php/conf.d/zzz-lando-my-custom.ini',
127
+ pool: '/usr/local/etc/php-fpm.d/zz-lando.conf',
128
128
  },
129
129
  sources: [],
130
130
  suffix: '4',
@@ -140,7 +140,7 @@ module.exports = {
140
140
  options = parseConfig(_.merge({}, config, options));
141
141
  // Mount our default php config
142
142
  options.volumes.push(`${options.confDest}/${options.defaultFiles._php}:${options.remoteFiles._php}`);
143
-
143
+ options.volumes.push(`${options.confDest}/${options.defaultFiles.pool}:${options.remoteFiles.pool}`);
144
144
  // Shift on the docker entrypoint if this is a more recent version
145
145
  if (options.version !== 'custom' && semver.gt(semver.coerce(options.version), '5.5.0')) {
146
146
  options.command.unshift('docker-php-entrypoint');
@@ -149,14 +149,12 @@ module.exports = {
149
149
  // If xdebug is set to "true" then map it to "debug"
150
150
  if (options.xdebug === true) options.xdebug = 'debug';
151
151
 
152
- // If this is a legacy php version then switch the suffix
153
- if (_.includes(options.gen3, options.version)) options.suffix = '3';
152
+ // for older generation models
154
153
  if (_.includes(options.gen2, options.version)) options.suffix = '2';
155
154
 
156
155
  // Build the php
157
156
  const php = {
158
- image: _.get(options, 'image') ?
159
- options.image : `devwithlando/php:${options.version}-${options.phpServer}-${options.suffix}`,
157
+ image: options.image ?? `devwithlando/php:${options.version}-${options.phpServer}-${options.suffix}`,
160
158
  environment: _.merge({}, options.environment, {
161
159
  PATH: options.path.join(':'),
162
160
  LANDO_WEBROOT: `/app/${options.webroot}`,
@@ -86,7 +86,7 @@
86
86
  <div class='footer quiet pad2 space-top1 center small'>
87
87
  Code coverage generated by
88
88
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
89
- at 2024-02-16T19:33:47.229Z
89
+ at 2024-10-18T00:57:44.564Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
@@ -1,9 +1,14 @@
1
- # docker build -t devwithlando/php:5.6-apache-3 .
1
+ # docker build -t devwithlando/php:5.6-apache-4 .
2
2
 
3
3
  FROM php:5.6-apache-stretch
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
9
+ && sed -i '/stretch-updates/d' /etc/apt/sources.list \
10
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
11
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
12
  && apt -y update && apt-get install -y \
8
13
  gnupg2 \
9
14
  wget \
@@ -1,9 +1,14 @@
1
- # docker build -t devwithlando/php:5.6-fpm-3 .
1
+ # docker build -t devwithlando/php:5.6-fpm-4 .
2
2
 
3
3
  FROM php:5.6-fpm-stretch
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
9
+ && sed -i '/stretch-updates/d' /etc/apt/sources.list \
10
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
11
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
12
  && apt -y update && apt-get install -y \
8
13
  gnupg2 \
9
14
  wget \
@@ -1,9 +1,14 @@
1
- # docker build -t devwithlando/php:7.0-apache-3 .
1
+ # docker build -t devwithlando/php:7.0-apache-4 .
2
2
 
3
3
  FROM php:7.0-apache-stretch
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
9
+ && sed -i '/stretch-updates/d' /etc/apt/sources.list \
10
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
11
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
12
  && apt -y update && apt-get install -y \
8
13
  gnupg2 \
9
14
  wget \
@@ -1,9 +1,14 @@
1
- # docker build -t devwithlando/php:7.0-fpm-3 .
1
+ # docker build -t devwithlando/php:7.0-fpm-4 .
2
2
 
3
3
  FROM php:7.0-fpm-stretch
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
9
+ && sed -i '/stretch-updates/d' /etc/apt/sources.list \
10
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
11
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
12
  && apt -y update && apt-get install -y \
8
13
  gnupg2 \
9
14
  wget \
@@ -1,19 +1,19 @@
1
- # docker build -t devwithlando/php:7.1-apache-3 .
1
+ # docker build -t devwithlando/php:7.1-apache-4 .
2
2
 
3
3
  FROM php:7.1-apache-buster
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
- && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i '/security.debian.org/s/^/#/' /etc/apt/sources.list \
9
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
10
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
11
  && apt-get update && apt-get install -y \
13
12
  bzip2 \
14
13
  default-mysql-client \
15
14
  exiftool \
16
15
  git-core \
16
+ gnupg2 \
17
17
  imagemagick \
18
18
  libbz2-dev \
19
19
  libc-client-dev \
@@ -32,7 +32,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
32
32
  libzip-dev \
33
33
  libonig-dev \
34
34
  openssl \
35
- postgresql-client-10 \
35
+ postgresql-client-11 \
36
36
  pv \
37
37
  rsync \
38
38
  ssh \
@@ -1,19 +1,19 @@
1
- # docker build -t devwithlando/php:7.1-fpm-3 .
1
+ # docker build -t devwithlando/php:7.1-fpm-4 .
2
2
 
3
3
  FROM php:7.1-fpm-buster
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
- && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i '/security.debian.org/s/^/#/' /etc/apt/sources.list \
9
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
10
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
11
  && apt-get update && apt-get install -y \
13
12
  bzip2 \
14
13
  default-mysql-client \
15
14
  exiftool \
16
15
  git-core \
16
+ gnupg2 \
17
17
  imagemagick \
18
18
  libbz2-dev \
19
19
  libc-client-dev \
@@ -32,7 +32,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
32
32
  libzip-dev \
33
33
  libonig-dev \
34
34
  openssl \
35
- postgresql-client-10 \
35
+ postgresql-client-11 \
36
36
  pv \
37
37
  rsync \
38
38
  ssh \
@@ -1,19 +1,19 @@
1
- # docker build -t devwithlando/php:7.2-apache-3 .
1
+ # docker build -t devwithlando/php:7.2-apache-4 .
2
2
 
3
3
  FROM php:7.2-apache-buster
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
- && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i '/security.debian.org/s/^/#/' /etc/apt/sources.list \
9
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
10
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
11
  && apt-get update && apt-get install -y \
13
12
  bzip2 \
14
13
  default-mysql-client \
15
14
  exiftool \
16
15
  git-core \
16
+ gnupg2 \
17
17
  imagemagick \
18
18
  libbz2-dev \
19
19
  libc-client-dev \
@@ -31,7 +31,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
31
  libzip-dev \
32
32
  libonig-dev \
33
33
  openssl \
34
- postgresql-client-10 \
34
+ postgresql-client-11 \
35
35
  pv \
36
36
  rsync \
37
37
  ssh \
@@ -45,7 +45,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
45
45
  && pecl install memcached \
46
46
  && pecl install oauth-2.0.2 \
47
47
  && pecl install redis-3.1.2 \
48
- && pecl install xdebug \
48
+ && pecl install xdebug-2.9.8 \
49
49
  && docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr \
50
50
  && docker-php-ext-configure imap --with-imap-ssl --with-kerberos \
51
51
  && docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
@@ -1,19 +1,19 @@
1
- # docker build -t devwithlando/php:7.2-fpm-3 .
1
+ # docker build -t devwithlando/php:7.2-fpm-4 .
2
2
 
3
3
  FROM php:7.2-fpm-buster
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
- && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i '/security.debian.org/s/^/#/' /etc/apt/sources.list \
9
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
10
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
11
  && apt-get update && apt-get install -y \
13
12
  bzip2 \
14
13
  default-mysql-client \
15
14
  exiftool \
16
15
  git-core \
16
+ gnupg2 \
17
17
  imagemagick \
18
18
  libbz2-dev \
19
19
  libc-client-dev \
@@ -31,7 +31,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
31
  libzip-dev \
32
32
  libonig-dev \
33
33
  openssl \
34
- postgresql-client-10 \
34
+ postgresql-client-11 \
35
35
  pv \
36
36
  rsync \
37
37
  ssh \
@@ -45,7 +45,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
45
45
  && pecl install memcached \
46
46
  && pecl install oauth-2.0.2 \
47
47
  && pecl install redis-3.1.2 \
48
- && pecl install xdebug \
48
+ && pecl install xdebug-2.9.8 \
49
49
  && docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr \
50
50
  && docker-php-ext-configure imap --with-imap-ssl --with-kerberos \
51
51
  && docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
@@ -5,15 +5,11 @@ FROM php:7.3-apache-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -31,7 +27,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
27
  libzip-dev \
32
28
  libonig-dev \
33
29
  openssl \
34
- postgresql-client-10 \
30
+ postgresql-client-13 \
35
31
  pv \
36
32
  rsync \
37
33
  ssh \
@@ -5,15 +5,11 @@ FROM php:7.3-fpm-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -31,7 +27,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
27
  libzip-dev \
32
28
  libonig-dev \
33
29
  openssl \
34
- postgresql-client-10 \
30
+ postgresql-client-13 \
35
31
  pv \
36
32
  rsync \
37
33
  ssh \
@@ -5,15 +5,11 @@ FROM php:7.4-apache-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -31,7 +27,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
27
  libzip-dev \
32
28
  libonig-dev \
33
29
  openssl \
34
- postgresql-client-10 \
30
+ postgresql-client-13 \
35
31
  pv \
36
32
  rsync \
37
33
  ssh \