PHP code example of nguyenanhung / codeigniter3-vercel-skeleton
1. Go to this page and download the library: Download nguyenanhung/codeigniter3-vercel-skeleton library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nguyenanhung / codeigniter3-vercel-skeleton example snippets
json
{
"version": 2,
"framework": null,
"functions": {
"api/**/*.php": {
"runtime": "[email protected]"
}
},
"outputDirectory": "public",
"routes": [
{
"src": "/assets/(css|favicon|images|js)/(.*)",
"dest": "assets/$1/$2"
},
{
"src": "/(.*)",
"dest": "/api/index.php?/$1"
}
]
}