Skip to content

Commit

Permalink
[0.3.x] bump 0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Apr 16, 2024
1 parent fc9f407 commit a82bfd5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
28 changes: 13 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.6"
}
}
}
Expand All @@ -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**: 7.0.x
- **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
Expand All @@ -90,9 +90,7 @@ Are you ready to deploy your first PHP project to Vercel? Click & Go!
## 💯 Versions

- `vercel-php@0.5.2` - PHP 8.1.x
- `vercel-php@0.4.0` - PHP 8.0.x
- `vercel-php@0.3.2` - PHP 7.4.x
- `vercel-php@0.3.6` - PHP 7.4.x

## ⚙️ Usage

Expand All @@ -105,7 +103,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.3.6"
}
},
"routes": [
Expand Down Expand Up @@ -180,19 +178,19 @@ project
{
"functions": {
"api/*.php": {
"runtime": "vercel-php@0.5.2"
"runtime": "vercel-php@0.3.6"
},
// Can be list also directly
"api/index.php": {
"runtime": "vercel-php@0.5.2"
"runtime": "vercel-php@0.3.6"
},
"api/users.php": {
"runtime": "vercel-php@0.5.2"
"runtime": "vercel-php@0.3.6"
},
"api/books.php": {
"runtime": "vercel-php@0.5.2"
"runtime": "vercel-php@0.3.6"
}
}
}
Expand All @@ -207,7 +205,7 @@ project
{
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.5.2"
"runtime": "vercel-php@0.3.6"
}
},
"routes": [
Expand All @@ -227,7 +225,7 @@ Additional function properties are `memory`, `maxDuration`. Learn more about [fu
{
"functions": {
"api/*.php": {
"runtime": "vercel-php@0.5.2",
"runtime": "vercel-php@0.3.6",
"memory": 3008,
"maxDuration": 60
}
Expand All @@ -254,7 +252,7 @@ project
{
"functions": {
"api/*.php": {
"runtime": "vercel-php@0.5.2"
"runtime": "vercel-php@0.3.6"
}
}
}
Expand Down Expand Up @@ -293,7 +291,7 @@ project
{
"functions": {
"api/*.php": {
"runtime": "vercel-php@0.5.2"
"runtime": "vercel-php@0.3.6"
}
}
}
Expand All @@ -318,7 +316,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.3.6",
"excludeFiles": "{foo/**,bar/config/*.yaml}",
}
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vercel-php",
"description": "Vercel PHP runtime",
"version": "0.3.5",
"version": "0.3.6",
"license": "MIT",
"main": "./dist/index.js",
"homepage": "https://github.com/juicyfx/vercel-php",
Expand Down

0 comments on commit a82bfd5

Please sign in to comment.