README
now-php
Create
api/index.php.<?php phpinfo();Create
now.json{ "functions": { "api/index.php": { "runtime": "now-php@0.0.9" } } }Call
nowand see magic.Discover more in documentation at Github repository.
PHP ZEIT Now Runtime
<script type="module">
import barnebysNowPhp from 'https://cdn.skypack.dev/@barnebys/now-php';
</script>
Create api/index.php.
<?php
phpinfo();
Create now.json
{
"functions": {
"api/index.php": {
"runtime": "now-php@0.0.9"
}
}
}
Call now and see magic.
Discover more in documentation at Github repository.