@barnebys/now-php

PHP ZEIT Now Runtime

Usage no npm install needed!

<script type="module">
  import barnebysNowPhp from 'https://cdn.skypack.dev/@barnebys/now-php';
</script>

README

now-php

  1. Create api/index.php.

    <?php
    phpinfo();
    
  2. Create now.json

    {
        "functions": {
            "api/index.php": {
                "runtime": "now-php@0.0.9"
            }
        }
    }
    
  3. Call now and see magic.

  4. Discover more in documentation at Github repository.