-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/npm_and_yarn/json5-2.2.3
- Loading branch information
Showing
29 changed files
with
1,249 additions
and
1,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ Second file `vercel.json` is pure gold here. Setup your project with configurati | |
{ | ||
"functions": { | ||
"api/*.php": { | ||
"runtime": "vercel-php@0.5.2" | ||
"runtime": "vercel-php@0.6.1" | ||
} | ||
} | ||
} | ||
|
@@ -80,7 +80,7 @@ Are you ready to deploy your first PHP project to Vercel? Click & Go! | |
## 🤗 Features | ||
|
||
- **Architecture**: PHP development server (🚀 fast enough) | ||
- **PHP version**: 8.1.4 | ||
- **PHP version**: 8.2 (https://example-php-8-2.vercel.app) | ||
- **Extensions**: apcu, bcmath, brotli, bz2, calendar, Core, ctype, curl, date, dom, ds, exif, fileinfo, filter, ftp, geoip, gettext, hash, iconv, igbinary, imap, intl, json, libxml, lua, mbstring, mongodb, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, protobuf, readline, redis, Reflection, runkit7, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, swoole, timecop, tokenizer, uuid, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zlib, zip | ||
- **Speed**: cold ~250ms / warm ~5ms | ||
- **Memory**: ~90mb | ||
|
@@ -90,9 +90,10 @@ Are you ready to deploy your first PHP project to Vercel? Click & Go! | |
## 💯 Versions | ||
|
||
- `[email protected]` - PHP 8.1.x | ||
- `[email protected]` - PHP 8.0.x | ||
- `[email protected]` - PHP 7.4.x | ||
- `[email protected]` - Node 18.x / PHP 8.2.x (https://example-php-8-2.vercel.app) | ||
- `[email protected]` - Node 18.x / PHP 8.1.x (https://example-php-8-1.vercel.app) | ||
- `[email protected]` - Node 18.x / PHP 8.0.x (https://example-php-8-0.vercel.app) | ||
- `[email protected]` - Node 18.x / PHP 7.4.x (https://example-php-7-4.vercel.app) | ||
|
||
## ⚙️ Usage | ||
|
||
|
@@ -105,7 +106,7 @@ If you need to route everything to index, use `routes` property. | |
{ | ||
"functions": { | ||
"api/*.php": { | ||
"runtime": "vercel-php@0.5.2" | ||
"runtime": "vercel-php@0.6.1" | ||
} | ||
}, | ||
"routes": [ | ||
|
@@ -180,19 +181,19 @@ project | |
{ | ||
"functions": { | ||
"api/*.php": { | ||
"runtime": "vercel-php@0.5.2" | ||
"runtime": "vercel-php@0.6.1" | ||
}, | ||
// Can be list also directly | ||
"api/index.php": { | ||
"runtime": "vercel-php@0.5.2" | ||
"runtime": "vercel-php@0.6.1" | ||
}, | ||
"api/users.php": { | ||
"runtime": "vercel-php@0.5.2" | ||
"runtime": "vercel-php@0.6.1" | ||
}, | ||
"api/books.php": { | ||
"runtime": "vercel-php@0.5.2" | ||
"runtime": "vercel-php@0.6.1" | ||
} | ||
} | ||
} | ||
|
@@ -207,7 +208,7 @@ project | |
{ | ||
"functions": { | ||
"api/index.php": { | ||
"runtime": "vercel-php@0.5.2" | ||
"runtime": "vercel-php@0.6.1" | ||
} | ||
}, | ||
"routes": [ | ||
|
@@ -227,7 +228,7 @@ Additional function properties are `memory`, `maxDuration`. Learn more about [fu | |
{ | ||
"functions": { | ||
"api/*.php": { | ||
"runtime": "vercel-php@0.5.2", | ||
"runtime": "vercel-php@0.6.1", | ||
"memory": 3008, | ||
"maxDuration": 60 | ||
} | ||
|
@@ -254,7 +255,7 @@ project | |
{ | ||
"functions": { | ||
"api/*.php": { | ||
"runtime": "vercel-php@0.5.2" | ||
"runtime": "vercel-php@0.6.1" | ||
} | ||
} | ||
} | ||
|
@@ -293,7 +294,7 @@ project | |
{ | ||
"functions": { | ||
"api/*.php": { | ||
"runtime": "vercel-php@0.5.2" | ||
"runtime": "vercel-php@0.6.1" | ||
} | ||
} | ||
} | ||
|
@@ -318,7 +319,7 @@ Runtimes support excluding some files or folders, [take a look at doc](https://v | |
{ | ||
"functions": { | ||
"api/**/*.php": { | ||
"runtime": "vercel-php@0.5.2", | ||
"runtime": "vercel-php@0.6.1", | ||
"excludeFiles": "{foo/**,bar/config/*.yaml}", | ||
} | ||
} | ||
|
Oops, something went wrong.