PHP code example of f-mahler / kirby-vercel
1. Go to this page and download the library: Download f-mahler/kirby-vercel 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/ */
f-mahler / kirby-vercel example snippets
return [
// Required to make the button work. You can generate a Deployment Hook in Project Settings -> Git Integration in Vercel's Dashboard
'f-mahler.kirby-vercel.deployurl' => '<deployUrl>',
// To show the last deployment in the field, you need to add these settings
'f-mahler.kirby-vercel.token' => '<token>',
'f-mahler.kirby-vercel.projectid' => '<projectId>',
// Automatically deploy when triggering one of the following hooks. See Kirby documentation for possible options
'f-mahler.kirby-vercel.hooks' => [
'site.update:after',
'page.update:after'
]
];