@lando/php 1.0.0 → 1.1.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.
- package/.nyc_output/processinfo/1b6c4377-66a5-4dca-afdc-fa5f97f36a12.json +1 -0
- package/.nyc_output/processinfo/7664c8a2-ef06-4ff0-ae4b-44779265c9dd.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +3 -0
- package/builders/php.js +2 -2
- package/coverage/index.html +1 -1
- package/images/8.3-apache/Dockerfile +85 -0
- package/images/8.3-fpm/Dockerfile +86 -0
- package/package.json +5 -5
- package/.nyc_output/processinfo/0d3f9936-7351-4e73-b720-0191b83fa2ed.json +0 -1
- package/.nyc_output/processinfo/ce923446-2865-4698-835b-17780656b791.json +0 -1
- /package/.nyc_output/{0d3f9936-7351-4e73-b720-0191b83fa2ed.json → 1b6c4377-66a5-4dca-afdc-fa5f97f36a12.json} +0 -0
- /package/.nyc_output/{ce923446-2865-4698-835b-17780656b791.json → 7664c8a2-ef06-4ff0-ae4b-44779265c9dd.json} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1888,"argv":["/opt/hostedtoolcache/node/18.19.0/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":1706558839904,"ppid":1887,"coverageFilename":"/home/runner/work/php/php/.nyc_output/1b6c4377-66a5-4dca-afdc-fa5f97f36a12.json","externalId":"","uuid":"1b6c4377-66a5-4dca-afdc-fa5f97f36a12","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1899,"argv":["/opt/hostedtoolcache/node/18.19.0/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":1706558840114,"ppid":1888,"coverageFilename":"/home/runner/work/php/php/.nyc_output/7664c8a2-ef06-4ff0-ae4b-44779265c9dd.json","externalId":"","uuid":"7664c8a2-ef06-4ff0-ae4b-44779265c9dd","files":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"1b6c4377-66a5-4dca-afdc-fa5f97f36a12":{"parent":null,"children":[]},"7664c8a2-ef06-4ff0-ae4b-44779265c9dd":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## v1.1.0 - [January 29, 2024](https://github.com/lando/php/releases/tag/v1.1.0)
|
|
2
|
+
* Add support for PHP 8.3. [#77](https://github.com/lando/php/issues/77)
|
|
3
|
+
|
|
1
4
|
## v1.0.0 - [December 7, 2023](https://github.com/lando/php/releases/tag/v1.0.0)
|
|
2
5
|
* Dialed fully for `lando update`
|
|
3
6
|
|
package/builders/php.js
CHANGED
|
@@ -91,7 +91,7 @@ module.exports = {
|
|
|
91
91
|
name: 'php',
|
|
92
92
|
config: {
|
|
93
93
|
version: '7.4',
|
|
94
|
-
supported: ['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.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
97
|
gen3: ['7.2', '7.1', '7.0', '5.6'],
|
|
@@ -109,7 +109,7 @@ module.exports = {
|
|
|
109
109
|
],
|
|
110
110
|
confSrc: path.resolve(__dirname, '..', 'config'),
|
|
111
111
|
command: ['sh -c \'a2enmod rewrite && apache2-foreground\''],
|
|
112
|
-
composer_version: '2.2.
|
|
112
|
+
composer_version: '2.2.22',
|
|
113
113
|
phpServer: 'apache',
|
|
114
114
|
defaultFiles: {
|
|
115
115
|
_php: 'php.ini',
|
package/coverage/index.html
CHANGED
|
@@ -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
|
|
89
|
+
at 2024-01-29T20:07:20.315Z
|
|
90
90
|
</div>
|
|
91
91
|
<script src="prettify.js"></script>
|
|
92
92
|
<script>
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# docker build -t devwithlando/php:8.3-apache-4 .
|
|
2
|
+
|
|
3
|
+
FROM php:8.3-apache-bullseye
|
|
4
|
+
|
|
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/ 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
|
+
bzip2 \
|
|
14
|
+
default-mysql-client \
|
|
15
|
+
exiftool \
|
|
16
|
+
git-core \
|
|
17
|
+
imagemagick \
|
|
18
|
+
libbz2-dev \
|
|
19
|
+
libc-client-dev \
|
|
20
|
+
libfreetype6-dev \
|
|
21
|
+
libicu-dev \
|
|
22
|
+
libjpeg62-turbo-dev \
|
|
23
|
+
libkrb5-dev \
|
|
24
|
+
libldap2-dev \
|
|
25
|
+
libmagickwand-dev \
|
|
26
|
+
libmemcached-dev \
|
|
27
|
+
libpng-dev \
|
|
28
|
+
libpq-dev \
|
|
29
|
+
libssl-dev \
|
|
30
|
+
libwebp-dev \
|
|
31
|
+
libxml2-dev \
|
|
32
|
+
libzip-dev \
|
|
33
|
+
libonig-dev \
|
|
34
|
+
openssl \
|
|
35
|
+
postgresql-client-10 \
|
|
36
|
+
pv \
|
|
37
|
+
rsync \
|
|
38
|
+
ssh \
|
|
39
|
+
unzip \
|
|
40
|
+
wget \
|
|
41
|
+
xfonts-75dpi \
|
|
42
|
+
xfonts-base \
|
|
43
|
+
zlib1g-dev \
|
|
44
|
+
&& pecl install apcu \
|
|
45
|
+
&& pecl install imagick \
|
|
46
|
+
&& pecl install memcached \
|
|
47
|
+
&& pecl install oauth \
|
|
48
|
+
&& pecl install redis-6.0.2 \
|
|
49
|
+
&& pecl install xdebug-3.3.0alpha3 \
|
|
50
|
+
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
51
|
+
&& docker-php-ext-enable apcu \
|
|
52
|
+
&& docker-php-ext-enable imagick \
|
|
53
|
+
&& docker-php-ext-enable memcached \
|
|
54
|
+
&& docker-php-ext-enable oauth \
|
|
55
|
+
&& docker-php-ext-enable redis \
|
|
56
|
+
&& docker-php-ext-install bcmath \
|
|
57
|
+
&& docker-php-ext-install bz2 \
|
|
58
|
+
&& docker-php-ext-install calendar \
|
|
59
|
+
&& docker-php-ext-install exif \
|
|
60
|
+
&& docker-php-ext-install gettext \
|
|
61
|
+
&& docker-php-ext-install intl \
|
|
62
|
+
&& docker-php-ext-install ldap \
|
|
63
|
+
&& docker-php-ext-install mbstring \
|
|
64
|
+
&& docker-php-ext-install mysqli \
|
|
65
|
+
&& docker-php-ext-install opcache \
|
|
66
|
+
&& docker-php-ext-install pcntl \
|
|
67
|
+
&& docker-php-ext-install pdo \
|
|
68
|
+
&& docker-php-ext-install pdo_mysql \
|
|
69
|
+
&& docker-php-ext-install pdo_pgsql \
|
|
70
|
+
&& docker-php-ext-install soap \
|
|
71
|
+
&& docker-php-ext-install zip \
|
|
72
|
+
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
73
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.22 \
|
|
74
|
+
&& php -r "unlink('composer-setup.php');" \
|
|
75
|
+
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
76
|
+
&& apt-get -y clean \
|
|
77
|
+
&& apt-get -y autoclean \
|
|
78
|
+
&& apt-get -y autoremove \
|
|
79
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/* \
|
|
80
|
+
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
81
|
+
&& docker-php-ext-install imap \
|
|
82
|
+
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
83
|
+
&& docker-php-ext-install gd
|
|
84
|
+
|
|
85
|
+
RUN curl https://dl.yarnpkg.com
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# docker build -t devwithlando/php:8.3-fpm-4 .
|
|
2
|
+
|
|
3
|
+
FROM php:8.3-fpm-bullseye
|
|
4
|
+
|
|
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/ 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
|
+
bzip2 \
|
|
14
|
+
default-mysql-client \
|
|
15
|
+
exiftool \
|
|
16
|
+
git-core \
|
|
17
|
+
imagemagick \
|
|
18
|
+
libbz2-dev \
|
|
19
|
+
libc-client-dev \
|
|
20
|
+
libfreetype6-dev \
|
|
21
|
+
libicu-dev \
|
|
22
|
+
libjpeg62-turbo-dev \
|
|
23
|
+
libkrb5-dev \
|
|
24
|
+
libldap2-dev \
|
|
25
|
+
libmagickwand-dev \
|
|
26
|
+
libmemcached-dev \
|
|
27
|
+
libpng-dev \
|
|
28
|
+
libpq-dev \
|
|
29
|
+
libssl-dev \
|
|
30
|
+
libwebp-dev \
|
|
31
|
+
libxml2-dev \
|
|
32
|
+
libzip-dev \
|
|
33
|
+
libonig-dev \
|
|
34
|
+
openssl \
|
|
35
|
+
postgresql-client-10 \
|
|
36
|
+
pv \
|
|
37
|
+
rsync \
|
|
38
|
+
ssh \
|
|
39
|
+
unzip \
|
|
40
|
+
wget \
|
|
41
|
+
xfonts-75dpi \
|
|
42
|
+
xfonts-base \
|
|
43
|
+
zlib1g-dev \
|
|
44
|
+
&& pecl install apcu \
|
|
45
|
+
&& pecl install imagick \
|
|
46
|
+
&& pecl install memcached \
|
|
47
|
+
&& pecl install oauth \
|
|
48
|
+
&& pecl install redis-6.0.2 \
|
|
49
|
+
&& pecl install xdebug-3.3.0alpha3 \
|
|
50
|
+
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
51
|
+
&& docker-php-ext-enable apcu \
|
|
52
|
+
&& docker-php-ext-enable imagick \
|
|
53
|
+
&& docker-php-ext-enable memcached \
|
|
54
|
+
&& docker-php-ext-enable oauth \
|
|
55
|
+
&& docker-php-ext-enable redis \
|
|
56
|
+
&& docker-php-ext-install bcmath \
|
|
57
|
+
&& docker-php-ext-install bz2 \
|
|
58
|
+
&& docker-php-ext-install calendar \
|
|
59
|
+
&& docker-php-ext-install exif \
|
|
60
|
+
&& docker-php-ext-install gettext \
|
|
61
|
+
&& docker-php-ext-install intl \
|
|
62
|
+
&& docker-php-ext-install ldap \
|
|
63
|
+
&& docker-php-ext-install mbstring \
|
|
64
|
+
&& docker-php-ext-install mysqli \
|
|
65
|
+
&& docker-php-ext-install opcache \
|
|
66
|
+
&& docker-php-ext-install pcntl \
|
|
67
|
+
&& docker-php-ext-install pdo \
|
|
68
|
+
&& docker-php-ext-install pdo_mysql \
|
|
69
|
+
&& docker-php-ext-install pdo_pgsql \
|
|
70
|
+
&& docker-php-ext-install soap \
|
|
71
|
+
&& docker-php-ext-install zip \
|
|
72
|
+
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
73
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.22 \
|
|
74
|
+
&& php -r "unlink('composer-setup.php');" \
|
|
75
|
+
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
76
|
+
&& apt-get -y clean \
|
|
77
|
+
&& apt-get -y autoclean \
|
|
78
|
+
&& apt-get -y autoremove \
|
|
79
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/* \
|
|
80
|
+
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
81
|
+
&& docker-php-ext-install imap \
|
|
82
|
+
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
83
|
+
&& docker-php-ext-install gd
|
|
84
|
+
|
|
85
|
+
# Tests
|
|
86
|
+
RUN curl https://dl.yarnpkg.com
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/php",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with PHP.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/php",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"semver"
|
|
66
66
|
],
|
|
67
67
|
"dist": {
|
|
68
|
-
"integrity": "sha512-
|
|
69
|
-
"shasum": "
|
|
70
|
-
"filename": "lando-php-1.
|
|
71
|
-
"unpackedSize":
|
|
68
|
+
"integrity": "sha512-DcxBjMuaigwvLIj9Y7UQbvt907jcdQTBl9uzQw4DS2ugz4ioGsb61Cr7bT+5j35ZQKVkDIrVAmRA0BJaCI+VSQ==",
|
|
69
|
+
"shasum": "f7848c79bade25faedbc5a89b362e1d9ef96e008",
|
|
70
|
+
"filename": "lando-php-1.1.0.tgz",
|
|
71
|
+
"unpackedSize": 3237983
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":2099,"argv":["/opt/hostedtoolcache/node/18.19.0/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":1702012297247,"ppid":2087,"coverageFilename":"/home/runner/work/php/php/.nyc_output/0d3f9936-7351-4e73-b720-0191b83fa2ed.json","externalId":"","uuid":"0d3f9936-7351-4e73-b720-0191b83fa2ed","files":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":2087,"argv":["/opt/hostedtoolcache/node/18.19.0/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":1702012297042,"ppid":2086,"coverageFilename":"/home/runner/work/php/php/.nyc_output/ce923446-2865-4698-835b-17780656b791.json","externalId":"","uuid":"ce923446-2865-4698-835b-17780656b791","files":[]}
|
|
File without changes
|
|
File without changes
|