@lando/php 1.7.1 → 1.9.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 (43) hide show
  1. package/.lando.yml +1 -1
  2. package/CHANGELOG.md +13 -0
  3. package/LICENSE +21 -0
  4. package/README.md +5 -2
  5. package/builders/php.js +2 -9
  6. package/images/5.6-apache/Dockerfile +9 -4
  7. package/images/5.6-fpm/Dockerfile +9 -4
  8. package/images/7.0-apache/Dockerfile +9 -4
  9. package/images/7.0-fpm/Dockerfile +9 -4
  10. package/images/7.1-apache/Dockerfile +1 -1
  11. package/images/7.1-fpm/Dockerfile +1 -1
  12. package/images/7.2-apache/Dockerfile +1 -1
  13. package/images/7.2-fpm/Dockerfile +1 -1
  14. package/images/7.3-apache/Dockerfile +1 -1
  15. package/images/7.3-fpm/Dockerfile +1 -1
  16. package/images/7.4-apache/Dockerfile +2 -2
  17. package/images/7.4-fpm/Dockerfile +2 -2
  18. package/images/8.0-apache/Dockerfile +2 -2
  19. package/images/8.0-fpm/Dockerfile +2 -2
  20. package/images/8.1-apache/Dockerfile +1 -1
  21. package/images/8.1-fpm/Dockerfile +1 -1
  22. package/images/8.2-apache/Dockerfile +1 -1
  23. package/images/8.2-fpm/Dockerfile +1 -1
  24. package/images/8.3-apache/Dockerfile +8 -22
  25. package/images/8.3-fpm/Dockerfile +7 -22
  26. package/images/8.4-apache/Dockerfile +6 -22
  27. package/images/8.4-fpm/Dockerfile +6 -22
  28. package/images/8.5-apache/Dockerfile +62 -0
  29. package/images/8.5-fpm/Dockerfile +63 -0
  30. package/netlify.toml +10 -1
  31. package/node_modules/@lando/nginx/.lando.yml +1 -1
  32. package/node_modules/@lando/nginx/.node-version +1 -1
  33. package/node_modules/@lando/nginx/CHANGELOG.md +9 -1
  34. package/node_modules/@lando/nginx/LICENSE +21 -0
  35. package/node_modules/@lando/nginx/README.md +5 -2
  36. package/node_modules/@lando/nginx/builders/nginx.js +34 -15
  37. package/node_modules/@lando/nginx/netlify.toml +9 -4
  38. package/node_modules/@lando/nginx/package.json +8 -8
  39. package/package.json +10 -10
  40. package/LICENSE.md +0 -674
  41. package/PRIVACY.md +0 -169
  42. package/node_modules/@lando/nginx/LICENSE.md +0 -674
  43. package/node_modules/@lando/nginx/PRIVACY.md +0 -169
@@ -0,0 +1,63 @@
1
+ # docker buildx build -t devwithlando/php:8.5-fpm-6 .
2
+
3
+ FROM php:8.5-fpm-trixie
4
+
5
+ ARG TARGETARCH
6
+
7
+ ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
8
+
9
+ RUN \
10
+ mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
11
+ && apt -y update && apt-get install -y \
12
+ bzip2 \
13
+ default-mysql-client \
14
+ libimage-exiftool-perl \
15
+ git \
16
+ gnupg2 \
17
+ imagemagick \
18
+ mariadb-client \
19
+ mariadb-client-compat \
20
+ postgresql-client-17 \
21
+ pv \
22
+ rsync \
23
+ ssh \
24
+ unzip \
25
+ wget
26
+
27
+ RUN \
28
+ install-php-extensions @fix_letsencrypt \
29
+ && install-php-extensions apcu \
30
+ && install-php-extensions bcmath \
31
+ && install-php-extensions bz2 \
32
+ && install-php-extensions calendar \
33
+ && install-php-extensions exif \
34
+ && install-php-extensions gd \
35
+ && install-php-extensions gettext \
36
+ && install-php-extensions imagick/imagick@master \
37
+ && install-php-extensions imap \
38
+ && install-php-extensions intl \
39
+ && install-php-extensions ldap \
40
+ && install-php-extensions mbstring \
41
+ && install-php-extensions memcached \
42
+ && install-php-extensions mysqli \
43
+ && install-php-extensions oauth \
44
+ && install-php-extensions opcache \
45
+ && install-php-extensions pcntl \
46
+ && install-php-extensions pdo \
47
+ && install-php-extensions pdo_mysql \
48
+ && install-php-extensions pdo_pgsql \
49
+ && install-php-extensions redis \
50
+ && install-php-extensions soap \
51
+ && install-php-extensions xhprof \
52
+ && install-php-extensions zip
53
+
54
+ # Install xdebug but disable it by default
55
+ RUN install-php-extensions xdebug/xdebug@master \
56
+ && rm -f /usr/local/etc/php/conf.d/*xdebug.ini
57
+
58
+ RUN \
59
+ chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
60
+ && apt-get -y clean \
61
+ && apt-get -y autoclean \
62
+ && apt-get -y autoremove \
63
+ && rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
package/netlify.toml CHANGED
@@ -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", "/v/", "x.com", "twitter.com", "www.php.net" ]
13
+ todoPatterns = [ "load", "CHANGELOG.html", "/v/", "x.com", "twitter.com", "www.php.net", "hub.docker.com" ]
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 +1 @@
1
- 18
1
+ 20
@@ -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
  }
package/package.json CHANGED
@@ -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.7.1",
4
+ "version": "1.9.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-GF7bMuFPLQoPPb1ODyJ2aCLbASR6PLmM9TLJy+5v+2xViS6elMJLe20D51SsFB4K8vzo4o6PIO7WboE5PRn8cg==",
70
- "shasum": "3e52a825d6d81d9117e9ce6243e28a1d16c43fea",
71
- "filename": "lando-php-1.7.1.tgz",
72
- "unpackedSize": 3128531
69
+ "integrity": "sha512-rVVcfFfqh6pLhya7NOOxI22M3OwadUGbJ30KUv5HfQy7UfcNrhQ0SrvAYsPvL5l5Lt9jSxqrzJN9TotYyOLecQ==",
70
+ "shasum": "20621106d351773689ba1a2cd86d307be2734f8e",
71
+ "filename": "lando-php-1.9.0.tgz",
72
+ "unpackedSize": 3044415
73
73
  }
74
74
  }