Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 62fdb09

Browse files
committed
add password-argon2 support
1 parent f94ac69 commit 62fdb09

File tree

5 files changed

+169
-160
lines changed

5 files changed

+169
-160
lines changed

docs/.vitepress/components/CliGenerator.vue

+1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ const EXTENSIONS = [
197197
'mysqlnd',
198198
'opcache',
199199
'openssl',
200+
'password-argon2',
200201
'pcntl',
201202
'pdo',
202203
'pdo_mysql',

docs/en/guide/extension-notes.md

+4
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,7 @@ Snappy configuration may break features of other extensions. Use with caution. S
9090

9191
- https://github.com/kjdev/php-ext-snappy/issues/24
9292
- https://github.com/crazywhalecc/static-php-cli/issues/285
93+
94+
## password-argon2
95+
96+
password-argon2 is not a standard extension, it is an additional algorithm for the `password_hash` function.

docs/en/guide/extensions.md

+80-80
Original file line numberDiff line numberDiff line change
@@ -6,86 +6,86 @@
66
> - no with issue link: not supported yet due to issue
77
> - partial with issue link: supported but not perfect due to issue
88
9-
| | Linux | macOS | FreeBSD | Windows |
10-
|--------------------------------------|---------------|---------------|---------------|---------|
11-
| apcu | yes, untested | yes, untested | yes, untested | |
12-
| bcmath | yes | yes | yes | |
13-
| bz2 | yes | yes | yes | |
14-
| calendar | yes | yes | yes | |
15-
| ctype | yes | yes | yes | |
16-
| curl | yes | yes | yes | |
17-
| dba | yes | yes | yes | |
18-
| dom | yes | yes | | |
19-
| enchant | | | | |
20-
| event | yes | yes | | |
21-
| exif | yes | yes | yes | |
22-
| ffi | yes | yes | | |
23-
| filter | yes | yes | yes | |
24-
| fileinfo | yes | yes | yes | |
25-
| ftp | yes | yes | yes | |
26-
| [gd](./extension-notes#gd) | yes | yes | | |
27-
| gettext | | | | |
28-
| [glfw](./extension-notes#glfw) | no | yes | no | |
29-
| gmp | yes | yes | | |
30-
| iconv | yes | yes | | |
31-
| imagick | yes | yes | | |
32-
| [imap](./extension-notes#imap) | yes | yes | | |
33-
| inotify | yes | no | | |
34-
| intl | yes | yes | | |
35-
| ldap | yes | yes | | |
36-
| mbstring | yes | yes | yes | |
37-
| mbregex | yes | yes | yes | |
38-
| [mcrypt](./extension-notes#mcrypt) | no | no | no | |
39-
| memcache | yes, untested | yes, untested | | |
40-
| memcached | no | yes, untested | | |
41-
| [mongodb](./extension-notes#mongodb) | yes | no | | |
42-
| mysqli | yes | yes | yes | |
43-
| mysqlnd | yes | yes | yes | |
44-
| [oci8](./extension-notes#oci8) | no | no | no | |
45-
| opcache | yes | yes | yes | |
46-
| openssl | yes | yes | yes | |
47-
| password-argon2 | | | | |
48-
| pcntl | yes | yes | yes | |
49-
| pdo | yes | yes | yes | |
50-
| pdo_mysql | yes | yes | yes | |
51-
| pdo_sqlite | yes | yes | | |
52-
| pdo_pgsql | yes | yes | | |
53-
| [pgsql](./extension-notes#pgsql) | partial | partial | | |
54-
| phar | yes | yes | yes | |
55-
| posix | yes | yes | yes | |
56-
| protobuf | yes | yes | | |
57-
| pspell | | | | |
58-
| [rar](./extension-notes#rar) | yes | partial | | |
59-
| rdkafka | | | | |
60-
| readline | yes, untested | yes, untested | | |
61-
| redis | yes | yes | | |
62-
| session | yes | yes | yes | |
63-
| shmop | yes | yes | yes | |
64-
| simplexml | yes | yes | | |
65-
| [snappy](./extension-notes#snappy) | partial | partial | | |
66-
| soap | yes | yes | | |
67-
| sockets | yes | yes | yes | |
68-
| sodium | yes | yes | | |
69-
| sqlite3 | yes | yes | | |
70-
| [sqlsrv](./extension-notes#sqlsrv) | no | no | no | |
71-
| ssh2 | yes | yes | | |
72-
| [swow](./extension-notes#swow) | yes | yes | | |
73-
| [swoole](./extension-notes#swoole) | partial | yes | | |
74-
| sysvmsg | yes | yes | | |
75-
| sysvsem | yes | yes | | |
76-
| sysvshm | yes | yes | | |
77-
| tidy | yes | yes | | |
78-
| tokenizer | yes | yes | yes | |
79-
| [xdebug](./extension-notes#xdebug) | no | no | no | |
80-
| xlswriter | yes | yes | | |
81-
| [xml](./extension-notes#xml) | yes | yes | | |
82-
| xmlreader | yes, untested | yes, untested | | |
83-
| xmlwriter | yes, untested | yes, untested | | |
84-
| xsl | yes, untested | yes, untested | | |
85-
| yaml | yes | yes | | |
86-
| zip | yes | yes | | |
87-
| zlib | yes | yes | yes | |
88-
| zstd | yes | yes | | |
9+
| | Linux | macOS | FreeBSD | Windows |
10+
|------------------------------------------------------|---------------|---------------|---------------|---------|
11+
| apcu | yes, untested | yes, untested | yes, untested | |
12+
| bcmath | yes | yes | yes | |
13+
| bz2 | yes | yes | yes | |
14+
| calendar | yes | yes | yes | |
15+
| ctype | yes | yes | yes | |
16+
| curl | yes | yes | yes | |
17+
| dba | yes | yes | yes | |
18+
| dom | yes | yes | | |
19+
| enchant | | | | |
20+
| event | yes | yes | | |
21+
| exif | yes | yes | yes | |
22+
| ffi | yes | yes | | |
23+
| filter | yes | yes | yes | |
24+
| fileinfo | yes | yes | yes | |
25+
| ftp | yes | yes | yes | |
26+
| [gd](./extension-notes#gd) | yes | yes | | |
27+
| gettext | | | | |
28+
| [glfw](./extension-notes#glfw) | no | yes | no | |
29+
| gmp | yes | yes | | |
30+
| iconv | yes | yes | | |
31+
| imagick | yes | yes | | |
32+
| [imap](./extension-notes#imap) | yes | yes | | |
33+
| inotify | yes | no | | |
34+
| intl | yes | yes | | |
35+
| ldap | yes | yes | | |
36+
| mbstring | yes | yes | yes | |
37+
| mbregex | yes | yes | yes | |
38+
| [mcrypt](./extension-notes#mcrypt) | no | no | no | |
39+
| memcache | yes, untested | yes, untested | | |
40+
| memcached | no | yes, untested | | |
41+
| [mongodb](./extension-notes#mongodb) | yes | no | | |
42+
| mysqli | yes | yes | yes | |
43+
| mysqlnd | yes | yes | yes | |
44+
| [oci8](./extension-notes#oci8) | no | no | no | |
45+
| opcache | yes | yes | yes | |
46+
| openssl | yes | yes | yes | |
47+
| [password-argon2](./extension-notes#password-argon2) | yes | yes | | |
48+
| pcntl | yes | yes | yes | |
49+
| pdo | yes | yes | yes | |
50+
| pdo_mysql | yes | yes | yes | |
51+
| pdo_sqlite | yes | yes | | |
52+
| pdo_pgsql | yes | yes | | |
53+
| [pgsql](./extension-notes#pgsql) | partial | partial | | |
54+
| phar | yes | yes | yes | |
55+
| posix | yes | yes | yes | |
56+
| protobuf | yes | yes | | |
57+
| pspell | | | | |
58+
| [rar](./extension-notes#rar) | yes | partial | | |
59+
| rdkafka | | | | |
60+
| readline | yes, untested | yes, untested | | |
61+
| redis | yes | yes | | |
62+
| session | yes | yes | yes | |
63+
| shmop | yes | yes | yes | |
64+
| simplexml | yes | yes | | |
65+
| [snappy](./extension-notes#snappy) | partial | partial | | |
66+
| soap | yes | yes | | |
67+
| sockets | yes | yes | yes | |
68+
| sodium | yes | yes | | |
69+
| sqlite3 | yes | yes | | |
70+
| [sqlsrv](./extension-notes#sqlsrv) | no | no | no | |
71+
| ssh2 | yes | yes | | |
72+
| [swow](./extension-notes#swow) | yes | yes | | |
73+
| [swoole](./extension-notes#swoole) | partial | yes | | |
74+
| sysvmsg | yes | yes | | |
75+
| sysvsem | yes | yes | | |
76+
| sysvshm | yes | yes | | |
77+
| tidy | yes | yes | | |
78+
| tokenizer | yes | yes | yes | |
79+
| [xdebug](./extension-notes#xdebug) | no | no | no | |
80+
| xlswriter | yes | yes | | |
81+
| [xml](./extension-notes#xml) | yes | yes | | |
82+
| xmlreader | yes, untested | yes, untested | | |
83+
| xmlwriter | yes, untested | yes, untested | | |
84+
| xsl | yes, untested | yes, untested | | |
85+
| yaml | yes | yes | | |
86+
| zip | yes | yes | | |
87+
| zlib | yes | yes | yes | |
88+
| zstd | yes | yes | | |
8989

9090
::: tip
9191
If an extension you need is missing, you can create a [Feature Request](https://github.com/crazywhalecc/static-php-cli/issues).

docs/zh/guide/extension-notes.md

+4
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,7 @@ Snappy 配置可能会破坏其他扩展的功能,请谨慎使用。相关链
8080

8181
- https://github.com/kjdev/php-ext-snappy/issues/24
8282
- https://github.com/crazywhalecc/static-php-cli/issues/285
83+
84+
## password-argon2
85+
86+
password-argon2不是一个标准的扩展,它是 `password_hash` 函数的额外算法。

0 commit comments

Comments
 (0)