@lando/symfony 1.9.0 → 1.11.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 (96) hide show
  1. package/.lando.yml +1 -1
  2. package/CHANGELOG.md +15 -0
  3. package/LICENSE +21 -0
  4. package/README.md +11 -3
  5. package/builders/symfony-nginx.js +1 -1
  6. package/builders/symfony-php.js +17 -16
  7. package/builders/symfony.js +11 -2
  8. package/netlify.toml +9 -0
  9. package/node_modules/@lando/mariadb/.lando.yml +1 -1
  10. package/node_modules/@lando/mariadb/.node-version +1 -1
  11. package/node_modules/@lando/mariadb/CHANGELOG.md +8 -1
  12. package/node_modules/@lando/mariadb/LICENSE +21 -0
  13. package/node_modules/@lando/mariadb/README.md +5 -2
  14. package/node_modules/@lando/mariadb/builders/mariadb.js +25 -22
  15. package/node_modules/@lando/mariadb/netlify.toml +9 -2
  16. package/node_modules/@lando/mariadb/package.json +8 -8
  17. package/node_modules/@lando/memcached/.lando.yml +1 -1
  18. package/node_modules/@lando/memcached/.node-version +1 -1
  19. package/node_modules/@lando/memcached/CHANGELOG.md +17 -1
  20. package/node_modules/@lando/memcached/LICENSE +21 -0
  21. package/node_modules/@lando/memcached/README.md +5 -2
  22. package/node_modules/@lando/memcached/builders/memcached.js +5 -3
  23. package/node_modules/@lando/memcached/netlify.toml +9 -2
  24. package/node_modules/@lando/memcached/package.json +8 -8
  25. package/node_modules/@lando/mysql/.lando.yml +1 -1
  26. package/node_modules/@lando/mysql/CHANGELOG.md +10 -0
  27. package/node_modules/@lando/mysql/LICENSE +21 -0
  28. package/node_modules/@lando/mysql/README.md +5 -2
  29. package/node_modules/@lando/mysql/builders/mysql.js +9 -5
  30. package/node_modules/@lando/mysql/netlify.toml +9 -0
  31. package/node_modules/@lando/mysql/package.json +8 -8
  32. package/node_modules/@lando/php/.lando.yml +1 -1
  33. package/node_modules/@lando/php/CHANGELOG.md +35 -1
  34. package/node_modules/@lando/php/LICENSE +21 -0
  35. package/node_modules/@lando/php/README.md +5 -2
  36. package/node_modules/@lando/php/builders/php.js +68 -15
  37. package/node_modules/@lando/php/images/5.6-apache/Dockerfile +0 -4
  38. package/node_modules/@lando/php/images/5.6-fpm/Dockerfile +0 -5
  39. package/node_modules/@lando/php/images/7.0-apache/Dockerfile +0 -4
  40. package/node_modules/@lando/php/images/7.0-fpm/Dockerfile +0 -4
  41. package/node_modules/@lando/php/images/7.1-apache/Dockerfile +0 -4
  42. package/node_modules/@lando/php/images/7.1-fpm/Dockerfile +0 -4
  43. package/node_modules/@lando/php/images/7.2-apache/Dockerfile +0 -4
  44. package/node_modules/@lando/php/images/7.2-fpm/Dockerfile +0 -4
  45. package/node_modules/@lando/php/images/7.3-apache/Dockerfile +0 -3
  46. package/node_modules/@lando/php/images/7.3-fpm/Dockerfile +0 -3
  47. package/node_modules/@lando/php/images/7.4-apache/Dockerfile +45 -55
  48. package/node_modules/@lando/php/images/7.4-fpm/Dockerfile +59 -69
  49. package/node_modules/@lando/php/images/8.0-apache/Dockerfile +45 -56
  50. package/node_modules/@lando/php/images/8.0-fpm/Dockerfile +45 -56
  51. package/node_modules/@lando/php/images/8.1-apache/Dockerfile +12 -2
  52. package/node_modules/@lando/php/images/8.1-fpm/Dockerfile +12 -2
  53. package/node_modules/@lando/php/images/8.2-apache/Dockerfile +12 -2
  54. package/node_modules/@lando/php/images/8.2-fpm/Dockerfile +12 -2
  55. package/node_modules/@lando/php/images/8.3-apache/Dockerfile +24 -4
  56. package/node_modules/@lando/php/images/8.3-fpm/Dockerfile +25 -4
  57. package/node_modules/@lando/php/images/8.4-apache/Dockerfile +27 -4
  58. package/node_modules/@lando/php/images/8.4-fpm/Dockerfile +27 -4
  59. package/node_modules/@lando/php/netlify.toml +10 -1
  60. package/node_modules/@lando/php/node_modules/@lando/nginx/.lando.yml +1 -1
  61. package/node_modules/@lando/php/node_modules/@lando/nginx/.node-version +1 -1
  62. package/node_modules/@lando/php/node_modules/@lando/nginx/CHANGELOG.md +9 -1
  63. package/node_modules/@lando/php/node_modules/@lando/nginx/LICENSE +21 -0
  64. package/node_modules/@lando/php/node_modules/@lando/nginx/README.md +5 -2
  65. package/node_modules/@lando/php/node_modules/@lando/nginx/builders/nginx.js +34 -15
  66. package/node_modules/@lando/php/node_modules/@lando/nginx/netlify.toml +9 -4
  67. package/node_modules/@lando/php/node_modules/@lando/nginx/package.json +8 -8
  68. package/node_modules/@lando/php/package.json +10 -10
  69. package/node_modules/@lando/php/scripts/install-composer.sh +4 -0
  70. package/node_modules/@lando/php/utils/add-build-step.js +17 -3
  71. package/node_modules/@lando/php/utils/get-install-commands.js +19 -3
  72. package/node_modules/@lando/postgres/.lando.yml +1 -1
  73. package/node_modules/@lando/postgres/CHANGELOG.md +11 -0
  74. package/node_modules/@lando/postgres/LICENSE +21 -0
  75. package/node_modules/@lando/postgres/README.md +5 -2
  76. package/node_modules/@lando/postgres/builders/postgres.js +9 -9
  77. package/node_modules/@lando/postgres/netlify.toml +9 -4
  78. package/node_modules/@lando/postgres/package.json +8 -8
  79. package/package.json +13 -12
  80. package/LICENSE.md +0 -674
  81. package/PRIVACY.md +0 -169
  82. package/node_modules/@lando/mariadb/LICENSE.md +0 -674
  83. package/node_modules/@lando/mariadb/PRIVACY.md +0 -169
  84. package/node_modules/@lando/mariadb/tmpfile +0 -0
  85. package/node_modules/@lando/memcached/LICENSE.md +0 -674
  86. package/node_modules/@lando/memcached/PRIVACY.md +0 -169
  87. package/node_modules/@lando/memcached/tmpfile +0 -0
  88. package/node_modules/@lando/mysql/.tool-versions +0 -1
  89. package/node_modules/@lando/mysql/LICENSE.md +0 -674
  90. package/node_modules/@lando/mysql/PRIVACY.md +0 -169
  91. package/node_modules/@lando/php/LICENSE.md +0 -674
  92. package/node_modules/@lando/php/PRIVACY.md +0 -169
  93. package/node_modules/@lando/php/node_modules/@lando/nginx/LICENSE.md +0 -674
  94. package/node_modules/@lando/php/node_modules/@lando/nginx/PRIVACY.md +0 -169
  95. package/node_modules/@lando/postgres/LICENSE.md +0 -674
  96. package/node_modules/@lando/postgres/PRIVACY.md +0 -169
@@ -2,8 +2,23 @@
2
2
 
3
3
  FROM php:8.4-apache-bookworm
4
4
 
5
+ ARG TARGETARCH
6
+
5
7
  ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
6
8
 
9
+ RUN \
10
+ # MariaDB client compatibility (https://github.com/lando/php/issues/120)
11
+ mkdir -p /etc/apt/keyrings \
12
+ && curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
13
+ && echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/11.4/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
14
+
15
+ # Drupal 11 requires sqlite3 3.45+
16
+ ARG SQLITE_VERSION=3.45.1
17
+ RUN \
18
+ curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
19
+ && curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
20
+ && curl -Lo /tmp/libsqlite3-dev.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-dev_${SQLITE_VERSION}-1_${TARGETARCH}.deb"
21
+
7
22
  RUN \
8
23
  mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
9
24
  && apt -y update && apt-get install -y \
@@ -11,13 +26,18 @@ RUN \
11
26
  exiftool \
12
27
  git-core \
13
28
  gnupg2 \
14
- openssl \
29
+ imagemagick \
30
+ mariadb-client \
31
+ mariadb-client-compat \
15
32
  postgresql-client-15 \
16
33
  pv \
17
34
  rsync \
18
35
  ssh \
19
36
  unzip \
20
- wget
37
+ wget \
38
+ /tmp/sqlite3.deb \
39
+ /tmp/libsqlite3-0.deb \
40
+ /tmp/libsqlite3-dev.deb
21
41
 
22
42
  RUN \
23
43
  install-php-extensions @fix_letsencrypt \
@@ -28,6 +48,7 @@ RUN \
28
48
  && install-php-extensions exif \
29
49
  && install-php-extensions gd \
30
50
  && install-php-extensions gettext \
51
+ && install-php-extensions imagick \
31
52
  && install-php-extensions imap \
32
53
  && install-php-extensions intl \
33
54
  && install-php-extensions ldap \
@@ -42,10 +63,12 @@ RUN \
42
63
  && install-php-extensions pdo_pgsql \
43
64
  && install-php-extensions redis \
44
65
  && install-php-extensions soap \
45
- # && install-php-extensions xdebug \
66
+ && install-php-extensions xhprof \
46
67
  && install-php-extensions zip
47
68
 
48
- RUN install-php-extensions @composer-2
69
+ # Install xdebug but disable it by default
70
+ RUN install-php-extensions xdebug \
71
+ && rm -f /usr/local/etc/php/conf.d/*xdebug.ini
49
72
 
50
73
  RUN \
51
74
  chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
@@ -2,8 +2,23 @@
2
2
 
3
3
  FROM php:8.4-fpm-bookworm
4
4
 
5
+ ARG TARGETARCH
6
+
5
7
  ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
6
8
 
9
+ RUN \
10
+ # MariaDB client compatibility (https://github.com/lando/php/issues/120)
11
+ mkdir -p /etc/apt/keyrings \
12
+ && curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
13
+ && echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/11.4/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
14
+
15
+ # Drupal 11 requires sqlite3 3.45+
16
+ ARG SQLITE_VERSION=3.45.1
17
+ RUN \
18
+ curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
19
+ && curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
20
+ && curl -Lo /tmp/libsqlite3-dev.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-dev_${SQLITE_VERSION}-1_${TARGETARCH}.deb"
21
+
7
22
  RUN \
8
23
  mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
9
24
  && apt -y update && apt-get install -y \
@@ -12,13 +27,18 @@ RUN \
12
27
  exiftool \
13
28
  git-core \
14
29
  gnupg2 \
15
- openssl \
30
+ imagemagick \
31
+ mariadb-client \
32
+ mariadb-client-compat \
16
33
  postgresql-client-15 \
17
34
  pv \
18
35
  rsync \
19
36
  ssh \
20
37
  unzip \
21
- wget
38
+ wget \
39
+ /tmp/sqlite3.deb \
40
+ /tmp/libsqlite3-0.deb \
41
+ /tmp/libsqlite3-dev.deb
22
42
 
23
43
  RUN \
24
44
  install-php-extensions @fix_letsencrypt \
@@ -29,6 +49,7 @@ RUN \
29
49
  && install-php-extensions exif \
30
50
  && install-php-extensions gd \
31
51
  && install-php-extensions gettext \
52
+ && install-php-extensions imagick \
32
53
  && install-php-extensions imap \
33
54
  && install-php-extensions intl \
34
55
  && install-php-extensions ldap \
@@ -43,10 +64,12 @@ RUN \
43
64
  && install-php-extensions pdo_pgsql \
44
65
  && install-php-extensions redis \
45
66
  && install-php-extensions soap \
46
- # && install-php-extensions xdebug \
67
+ && install-php-extensions xhprof \
47
68
  && install-php-extensions zip
48
69
 
49
- RUN install-php-extensions @composer-2
70
+ # Install xdebug but disable it by default
71
+ RUN install-php-extensions xdebug \
72
+ && rm -f /usr/local/etc/php/conf.d/*xdebug.ini
50
73
 
51
74
  RUN \
52
75
  chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
@@ -10,7 +10,7 @@
10
10
  [[context.deploy-preview.plugins]]
11
11
  package = "netlify-plugin-checklinks"
12
12
  [context.deploy-preview.plugins.inputs]
13
- todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com", "/v/" ]
13
+ todoPatterns = [ "load", "CHANGELOG.html", "/v/", "x.com", "twitter.com", "www.php.net" ]
14
14
  skipPatterns = [ ".rss", ".gif", ".jpg" ]
15
15
  checkExternal = true
16
16
 
@@ -40,6 +40,15 @@
40
40
  output_path = "reports/lighthouse.html"
41
41
 
42
42
  # We need this so preview environments and the base site look ok on their own
43
+ [[redirects]]
44
+ from = "https://lando-php.netlify.app"
45
+ to = "https://lando-php.netlify.app/plugins/php/index.html"
46
+ status = 301
47
+ force = true
48
+ [[redirects]]
49
+ from = "https://lando-php.netlify.app/*"
50
+ to = "https://docs.lando.dev/:splat"
51
+ status = 301
43
52
  [[redirects]]
44
53
  from = "/"
45
54
  to = "/plugins/php"
@@ -5,7 +5,7 @@ proxy:
5
5
  services:
6
6
  cli:
7
7
  api: 4
8
- image: node:18
8
+ image: node:20
9
9
  command: sleep infinity
10
10
  ports:
11
11
  - 5173:5173/http
@@ -1,5 +1,12 @@
1
1
  ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
2
2
 
3
+ ## v1.5.0 - [August 31, 2025](https://github.com/lando/nginx/releases/tag/v1.5.0)
4
+
5
+ * Switched images to [bitnamilegacy](https://github.com/bitnami/containers/issues/83267) namespace
6
+ * Added `nginx:1.29`
7
+ * Added `nginx:1.28`
8
+ * Updated `nginx:1.27` to `1.27.5`
9
+
3
10
  ## v1.4.4 - [December 7, 2024](https://github.com/lando/nginx/releases/tag/v1.4.4)
4
11
 
5
12
  * Optimized for `midcore`
@@ -32,7 +39,8 @@
32
39
  * Changed default version to `1.26`
33
40
 
34
41
  ## v1.1.0 - [March 8, 2024](https://github.com/lando/nginx/releases/tag/v1.1.0)
35
- * Updated to latest database services.
42
+
43
+ * Updated to latest database services.
36
44
 
37
45
  ## v1.0.0 - [December 7, 2023](https://github.com/lando/ngin/releases/tag/v1.0.0)
38
46
 
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Lando Alliance
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -49,5 +49,8 @@ Made with [contributors-img](https://contrib.rocks).
49
49
 
50
50
  ## Other Selected Resources
51
51
 
52
- * [LICENSE](https://github.com/lando/nginx/blob/main/LICENSE.md)
53
- * [The best professional advice ever](https://www.youtube.com/watch?v=tkBVDh7my9Q)
52
+ * [LICENSE](/LICENSE)
53
+ * [TERMS OF USE](https://docs.lando.dev/terms)
54
+ * [PRIVACY POLICY](https://docs.lando.dev/privacy)
55
+ * [CODE OF CONDUCT](https://docs.lando.dev/coc)
56
+
@@ -8,21 +8,40 @@ const path = require('path');
8
8
  module.exports = {
9
9
  name: 'nginx',
10
10
  config: {
11
- version: '1.27',
12
- supported: ['1.16', '1.17', '1.18', '1.19', '1.20', '1.21', '1.22', '1.23', '1.24', '1.25', '1.26', '1.27'],
11
+ version: '1.29',
12
+ supported: [
13
+ '1',
14
+ '1.29',
15
+ '1.28',
16
+ '1.27',
17
+ '1.26',
18
+ '1.25',
19
+ '1.24',
20
+ '1.23',
21
+ '1.22',
22
+ '1.21',
23
+ '1.20',
24
+ '1.19',
25
+ '1.18',
26
+ '1.17',
27
+ '1.16',
28
+ ],
13
29
  pinPairs: {
14
- '1.27': 'bitnami/nginx:1.27.2-debian-12-r0',
15
- '1.26': 'bitnami/nginx:1.26.2-debian-12-r6',
16
- '1.25': 'bitnami/nginx:1.25.5-debian-12-r7',
17
- '1.24': 'bitnami/nginx:1.24.0-debian-12-r25',
18
- '1.23': 'bitnami/nginx:1.23.4-debian-11-r24',
19
- '1.22': 'bitnami/nginx:1.22.1-debian-11-r66',
20
- '1.21': 'bitnami/nginx:1.21.6-debian-11-r21',
21
- '1.20': 'bitnami/nginx:1.20.2-debian-11-r9',
22
- '1.19': 'bitnami/nginx:1.19.10-debian-10-r94',
23
- '1.18': 'bitnami/nginx:1.18.0-debian-10-r363',
24
- '1.17': 'bitnami/nginx:1.17.10-debian-10-r71',
25
- '1.16': 'bitnami/nginx:1.16.1-debian-10-r106',
30
+ '1': 'bitnamilegacy/nginx:1.29.1-debian-12-r0',
31
+ '1.29': 'bitnamilegacy/nginx:1.29.1-debian-12-r0',
32
+ '1.28': 'bitnamilegacy/nginx:1.28.0-debian-12-r4',
33
+ '1.27': 'bitnamilegacy/nginx:1.27.5-debian-12-r1',
34
+ '1.26': 'bitnamilegacy/nginx:1.26.2-debian-12-r10',
35
+ '1.25': 'bitnamilegacy/nginx:1.25.5-debian-12-r7',
36
+ '1.24': 'bitnamilegacy/nginx:1.24.0-debian-12-r25',
37
+ '1.23': 'bitnamilegacy/nginx:1.23.4-debian-11-r24',
38
+ '1.22': 'bitnamilegacy/nginx:1.22.1-debian-11-r66',
39
+ '1.21': 'bitnamilegacy/nginx:1.21.6-debian-11-r21',
40
+ '1.20': 'bitnamilegacy/nginx:1.20.2-debian-11-r9',
41
+ '1.19': 'bitnamilegacy/nginx:1.19.10',
42
+ '1.18': 'bitnamilegacy/nginx:1.18.0',
43
+ '1.17': 'bitnamilegacy/nginx:1.17.10',
44
+ '1.16': 'bitnamilegacy/nginx:1.16.1-r146',
26
45
  },
27
46
  patchesSupported: true,
28
47
  confSrc: path.resolve(__dirname, '..', 'config'),
@@ -71,7 +90,7 @@ module.exports = {
71
90
 
72
91
  // Build the default stuff here
73
92
  const nginx = {
74
- image: `bitnami/nginx:${options.version}`,
93
+ image: `bitnamilegacy/nginx:${options.version}`,
75
94
  command: `/launch.sh ${vhosts} ${server} ${params}`,
76
95
  environment: {
77
96
  NGINX_HTTP_PORT_NUMBER: '80',
@@ -14,8 +14,6 @@
14
14
  skipPatterns = [ ".rss", ".gif", ".jpg" ]
15
15
  checkExternal = true
16
16
 
17
-
18
-
19
17
  # Sets our asset optimization
20
18
  [build.processing.css]
21
19
  bundle = true
@@ -41,9 +39,16 @@
41
39
  [plugins.inputs.audits]
42
40
  output_path = "reports/lighthouse.html"
43
41
 
44
-
45
-
46
42
  # We need this so preview environments and the base site look ok on their own
43
+ [[redirects]]
44
+ from = "https://lando-nginx.netlify.app"
45
+ to = "https://lando-nginx.netlify.app/plugins/nginx/index.html"
46
+ status = 301
47
+ force = true
48
+ [[redirects]]
49
+ from = "https://lando-nginx.netlify.app/*"
50
+ to = "https://docs.lando.dev/:splat"
51
+ status = 301
47
52
  [[redirects]]
48
53
  from = "/"
49
54
  to = "/plugins/nginx"
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@lando/nginx",
3
3
  "description": "A Lando plugin that provides a tight integration with NGINX.",
4
- "version": "1.4.4",
4
+ "version": "1.5.0",
5
5
  "author": "Mike Pirog @pirog",
6
- "license": "GPL-3.0",
6
+ "license": "MIT",
7
7
  "repository": "lando/nginx",
8
8
  "bugs": "https://github.com/lando/nginx/issues/new/choose",
9
9
  "homepage": "https://github.com/lando/nginx",
@@ -14,7 +14,7 @@
14
14
  "nginx"
15
15
  ],
16
16
  "engines": {
17
- "node": ">=18.0.0"
17
+ "node": ">=20.0.0"
18
18
  },
19
19
  "lando": {},
20
20
  "main": "index.js",
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "@babel/eslint-parser": "^7.16.0",
50
50
  "@lando/leia": "^1.0.0-beta.3",
51
- "@lando/vitepress-theme-default-plus": "^1.1.0-beta.24",
51
+ "@lando/vitepress-theme-default-plus": "^1.1.1",
52
52
  "chai": "^4.3.4",
53
53
  "command-line-test": "^1.0.10",
54
54
  "eslint": "^7.32.0",
@@ -62,9 +62,9 @@
62
62
  "lodash"
63
63
  ],
64
64
  "dist": {
65
- "integrity": "sha512-mW8wzVbKHLNsQhsWyuxx4pwxgB26hRe6gAe82VzrgBpYCyNqyR2WbkvoTXM1jlllyUQaHB3V8FtZLxNREKWy3g==",
66
- "shasum": "379bada9fb0b1bddfa323b6f574beed862457236",
67
- "filename": "lando-nginx-1.4.4.tgz",
68
- "unpackedSize": 1481520
65
+ "integrity": "sha512-5ucFuVSujqYHcrRYfp7h7hJoeB4hDIykCa3jCSrOzXEh9yJA5tOoIHWZ6sA5bVWMZ+fmVjJwN4ECq5bCSL4fXQ==",
66
+ "shasum": "4f17dd1cd473fd82fffc629a87f09b695826bf75",
67
+ "filename": "lando-nginx-1.5.0.tgz",
68
+ "unpackedSize": 1438911
69
69
  }
70
70
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@lando/php",
3
3
  "description": "A Lando plugin that provides a tight integration with PHP.",
4
- "version": "1.6.3",
4
+ "version": "1.8.0",
5
5
  "author": "Mike Pirog @pirog",
6
- "license": "GPL-3.0",
6
+ "license": "MIT",
7
7
  "repository": "lando/php",
8
8
  "bugs": "https://github.com/lando/php/issues/new/choose",
9
9
  "homepage": "https://github.com/lando/php",
@@ -14,7 +14,7 @@
14
14
  "php"
15
15
  ],
16
16
  "engines": {
17
- "node": ">=18.0.0"
17
+ "node": ">=20.0.0"
18
18
  },
19
19
  "lando": {},
20
20
  "main": "index.js",
@@ -43,20 +43,20 @@
43
43
  "test": "npm run lint && npm run test:unit"
44
44
  },
45
45
  "dependencies": {
46
- "@lando/nginx": "^1.4.4",
46
+ "@lando/nginx": "^1.5.0",
47
47
  "lodash": "^4.17.21",
48
48
  "semver": "^7.6.3"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/eslint-parser": "^7.25.9",
52
52
  "@lando/leia": "0.6.7",
53
- "@lando/vitepress-theme-default-plus": "^1.1.0-beta.24",
53
+ "@lando/vitepress-theme-default-plus": "^1.1.1",
54
54
  "chai": "^4.3.4",
55
55
  "command-line-test": "^1.0.10",
56
56
  "eslint": "^7.32.0",
57
57
  "eslint-config-google": "^0.9.1",
58
58
  "eslint-plugin-vue": "^8.0.3",
59
- "mocha": "^9.1.2",
59
+ "mocha": "^11.1.0",
60
60
  "nyc": "^15.1.0",
61
61
  "vitepress": "^1.3.4"
62
62
  },
@@ -66,9 +66,9 @@
66
66
  "semver"
67
67
  ],
68
68
  "dist": {
69
- "integrity": "sha512-ob+QIOJAhWamdWvGKl8DNISxFOjsxXWGd7cl3M/afWThMRT+EH7iYyy2MuBzxAF7YbQ3FfxcoGSt3YvH1fRiNg==",
70
- "shasum": "6f506661057bf7807c5f156264e9e2822c347fa6",
71
- "filename": "lando-php-1.6.3.tgz",
72
- "unpackedSize": 3119748
69
+ "integrity": "sha512-iacB+ZbgZlcZen5zwnsaHCluP9ZpE2hIKzFwQlzMWooXC39LeR5z1Kw6pt0BoC9a9dmmTVoYAMbf/vGwenuwBw==",
70
+ "shasum": "a63245f0e3fc8a4af8ce2f62cb383af253787ffd",
71
+ "filename": "lando-php-1.8.0.tgz",
72
+ "unpackedSize": 3042655
73
73
  }
74
74
  }
@@ -16,6 +16,10 @@ elif [ "$VERSION" = '2-latest' ]; then
16
16
  php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer --2
17
17
  elif [ "$VERSION" = '2' ]; then
18
18
  php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer --2
19
+ elif [ "$VERSION" = '2.2' ]; then
20
+ php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer --2.2
21
+ elif [ "$VERSION" = '2.2-latest' ]; then
22
+ php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer --2.2
19
23
  elif [ "$VERSION" = 'preview' ]; then
20
24
  php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer --preview
21
25
  elif [ "$VERSION" = 'snapshot' ]; then
@@ -3,9 +3,23 @@
3
3
  // Modules
4
4
  const _ = require('lodash');
5
5
 
6
- /*
7
- * Helper to get global deps
8
- * @TODO: this looks pretty testable? should services have libs?
6
+ /**
7
+ * Helper function to add build steps to a service's configuration
8
+ *
9
+ * @param {string|string[]} steps - The build step(s) to add
10
+ * @param {Object} app - The Lando app object
11
+ * @param {string} name - The name of the service
12
+ * @param {string} [step='build_internal'] - The build step type to modify
13
+ * @param {boolean} [front=false] - Whether to add steps to front of array
14
+ * @return {void} - Modifies app config object directly
15
+ *
16
+ * @example
17
+ * // Add a build step to the end
18
+ * addBuildStep('npm install', app, 'web');
19
+ *
20
+ * @example
21
+ * // Add multiple build steps to the front
22
+ * addBuildStep(['composer install', 'npm install'], app, 'web', 'build_internal', true);
9
23
  */
10
24
  module.exports = (steps, app, name, step = 'build_internal', front = false) => {
11
25
  const current = _.get(app, `config.services.${name}.${step}`, []);
@@ -3,9 +3,25 @@
3
3
  // Modules
4
4
  const _ = require('lodash');
5
5
 
6
- /*
7
- * Helper to get global deps
8
- * @TODO: this looks pretty testable? should services have libs?
6
+ /**
7
+ * Helper function to generate installation commands for dependencies
8
+ *
9
+ * @param {Object} deps - Dependencies object with package names as keys and versions as values
10
+ * @param {Function} pkger - Function that generates package installation command
11
+ * @param {string[]} [prefix=[]] - Command prefix to prepend to each installation command
12
+ * @return {string[]} Array of formatted installation commands
13
+ *
14
+ * @example
15
+ * // Generate npm install commands
16
+ * const deps = { 'lodash': '^4.0.0', 'express': '4.17.1' };
17
+ * const npmInstall = (pkg, version) => ['npm', 'install', `${pkg}@${version}`];
18
+ * getInstallCommands(deps, npmInstall);
19
+ * // Returns: ['npm install lodash@^4.0.0', 'npm install express@4.17.1']
20
+ *
21
+ * @example
22
+ * // Generate commands with prefix
23
+ * getInstallCommands(deps, npmInstall, ['sudo', '-E']);
24
+ * // Returns: ['sudo -E npm install lodash@^4.0.0', 'sudo -E npm install express@4.17.1']
9
25
  */
10
26
  module.exports = (deps, pkger, prefix = []) => _(deps)
11
27
  .map((version, pkg) => _.flatten([prefix, pkger(pkg, version)]))
@@ -5,7 +5,7 @@ proxy:
5
5
  services:
6
6
  cli:
7
7
  api: 4
8
- image: node:18
8
+ image: node:20
9
9
  command: sleep infinity
10
10
  ports:
11
11
  - 5173:5173/http
@@ -1,5 +1,16 @@
1
1
  ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
2
2
 
3
+ ## v1.5.0 - [September 1, 2025](https://github.com/lando/postgres/releases/tag/v1.5.0)
4
+
5
+ * Switched images to [bitnamilegacy](https://github.com/bitnami/containers/issues/83267) namespace
6
+ * Updated `postgres:16` to `16.6.0`
7
+ * Updated `postgres:15` to `15.10.0`
8
+ * Updated `postgres:14` to `14.18.0`
9
+ * Updated `postgres:13` to `13.18.0`
10
+ * Updated `postgres:12` to `12.20.0`
11
+ * Updated `postgres:11` to `11.22.0`
12
+ * Updated `postgres:10` to `10.23.0`
13
+
3
14
  ## v1.4.4 - [December 7, 2024](https://github.com/lando/postgres/releases/tag/v1.4.4)
4
15
 
5
16
  * Optimized for `midcore`
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Lando Alliance
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -49,5 +49,8 @@ Made with [contributors-img](https://contrib.rocks).
49
49
 
50
50
  ## Other Selected Resources
51
51
 
52
- * [LICENSE](https://github.com/lando/postgres/blob/main/LICENSE.md)
53
- * [The best professional advice ever](https://www.youtube.com/watch?v=tkBVDh7my9Q)
52
+ * [LICENSE](/LICENSE)
53
+ * [TERMS OF USE](https://docs.lando.dev/terms)
54
+ * [PRIVACY POLICY](https://docs.lando.dev/privacy)
55
+ * [CODE OF CONDUCT](https://docs.lando.dev/coc)
56
+
@@ -13,14 +13,14 @@ module.exports = {
13
13
  version: '10',
14
14
  supported: ['16', '15', '14', '13', '12', '11', '11.1', '11.0', '10', '10.6.0', '9.6'],
15
15
  pinPairs: {
16
- '16': 'bitnami/postgresql:16.2.0-debian-12-r8',
17
- '15': 'bitnami/postgresql:15.2.0-debian-11-r26',
18
- '14': 'bitnami/postgresql:14.1.0-debian-10-r9',
19
- '13': 'bitnami/postgresql:13.5.0-debian-10-r9',
20
- '12': 'bitnami/postgresql:12.9.0-debian-10-r9',
21
- '11': 'bitnami/postgresql:11.14.0-debian-10-r9',
22
- '10': 'bitnami/postgresql:10.19.0-debian-10-r9',
23
- '9.6': 'bitnami/postgresql:9.6.24-debian-10-r9',
16
+ '16': 'bitnamilegacy/postgresql:16.6.0-debian-12-r2',
17
+ '15': 'bitnamilegacy/postgresql:15.10.0-debian-12-r2',
18
+ '14': 'bitnamilegacy/postgresql:14.18.0-debian-12-r0',
19
+ '13': 'bitnamilegacy/postgresql:13.18.0-debian-12-r2',
20
+ '12': 'bitnamilegacy/postgresql:12.20.0-debian-12-r26',
21
+ '11': 'bitnamilegacy/postgresql:11.22.0-debian-11-r4',
22
+ '10': 'bitnamilegacy/postgresql:10.23.0-debian-11-r3',
23
+ '9.6': 'bitnamilegacy/postgresql:9.6.24',
24
24
  },
25
25
  patchesSupported: true,
26
26
  confSrc: path.resolve(__dirname, '..', 'config'),
@@ -50,7 +50,7 @@ module.exports = {
50
50
  if (!options.healthcheck) options.healthcheck = require('../utils/get-default-healthcheck')(options);
51
51
 
52
52
  const postgres = {
53
- image: `bitnami/postgresql:${options.version}`,
53
+ image: `bitnamilegacy/postgresql:${options.version}`,
54
54
  command: '/launch.sh',
55
55
  environment: {
56
56
  ALLOW_EMPTY_PASSWORD: 'yes',
@@ -14,8 +14,6 @@
14
14
  skipPatterns = [ ".rss", ".gif", ".jpg" ]
15
15
  checkExternal = true
16
16
 
17
-
18
-
19
17
  # Sets our asset optimization
20
18
  [build.processing.css]
21
19
  bundle = true
@@ -41,9 +39,16 @@
41
39
  [plugins.inputs.audits]
42
40
  output_path = "reports/lighthouse.html"
43
41
 
44
-
45
-
46
42
  # We need this so preview environments and the base site look ok on their own
43
+ [[redirects]]
44
+ from = "https://lando-postgres.netlify.app"
45
+ to = "https://lando-postgres.netlify.app/plugins/postgres/index.html"
46
+ status = 301
47
+ force = true
48
+ [[redirects]]
49
+ from = "https://lando-postgres.netlify.app/*"
50
+ to = "https://docs.lando.dev/:splat"
51
+ status = 301
47
52
  [[redirects]]
48
53
  from = "/"
49
54
  to = "/plugins/postgres"