@@ -54,7 +54,7 @@ Second file `vercel.json` is pure gold here. Setup your project with configurati
54
54
{
55
55
"functions" : {
56
56
"api/*.php" : {
57
-
57
+
58
58
}
59
59
}
60
60
}
@@ -90,10 +90,10 @@ Are you ready to deploy your first PHP project to Vercel? Click & Go!
90
90
91
91
## 💯 Versions
92
92
93
- - ` [email protected] .0 ` - PHP 8.2.x (
https://example-php-8-2.vercel.app )
94
- - ` [email protected] .3 ` - PHP 8.1.x (
https://example-php-8-1.vercel.app )
95
- - ` [email protected] .1 ` - PHP 8.0.x (
https://example-php-8-0.vercel.app )
96
- - ` [email protected] .3 ` - PHP 7.4.x (
https://example-php-7-4.vercel.app )
93
+ - ` [email protected] .1 ` -
Node 18.x / PHP 8.2.x (
https://example-php-8-2.vercel.app )
94
+ - ` [email protected] .4 ` -
Node 18.x / PHP 8.1.x (
https://example-php-8-1.vercel.app )
95
+ - ` [email protected] .3 ` -
Node 18.x / PHP 8.0.x (
https://example-php-8-0.vercel.app )
96
+ - ` [email protected] .5 ` -
Node 18.x / PHP 7.4.x (
https://example-php-7-4.vercel.app )
97
97
98
98
## ⚙️ Usage
99
99
@@ -106,7 +106,7 @@ If you need to route everything to index, use `routes` property.
106
106
{
107
107
"functions" : {
108
108
"api/*.php" : {
109
-
109
+
110
110
}
111
111
},
112
112
"routes" : [
@@ -181,19 +181,19 @@ project
181
181
{
182
182
"functions": {
183
183
"api/*.php": {
184
-
184
+
185
185
},
186
186
187
187
// Can be list also directly
188
188
189
189
"api/index.php": {
190
-
190
+
191
191
},
192
192
"api/users.php": {
193
-
193
+
194
194
},
195
195
"api/books.php": {
196
-
196
+
197
197
}
198
198
}
199
199
}
@@ -208,7 +208,7 @@ project
208
208
{
209
209
"functions" : {
210
210
"api/index.php" : {
211
-
211
+
212
212
}
213
213
},
214
214
"routes" : [
@@ -228,7 +228,7 @@ Additional function properties are `memory`, `maxDuration`. Learn more about [fu
228
228
{
229
229
"functions" : {
230
230
"api/*.php" : {
231
-
231
+
232
232
"memory" : 3008 ,
233
233
"maxDuration" : 60
234
234
}
@@ -255,7 +255,7 @@ project
255
255
{
256
256
"functions" : {
257
257
"api/*.php" : {
258
-
258
+
259
259
}
260
260
}
261
261
}
@@ -294,7 +294,7 @@ project
294
294
{
295
295
"functions" : {
296
296
"api/*.php" : {
297
-
297
+
298
298
}
299
299
}
300
300
}
@@ -319,7 +319,7 @@ Runtimes support excluding some files or folders, [take a look at doc](https://v
319
319
{
320
320
"functions" : {
321
321
"api/**/*.php" : {
322
-
322
+
323
323
"excludeFiles" : " {foo/**,bar/config/*.yaml}" ,
324
324
}
325
325
}
0 commit comments