PHP code example of glueful / runiva

1. Go to this page and download the library: Download glueful/runiva 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/ */

    

glueful / runiva example snippets

bash
php glueful extensions:list
php glueful extensions:info runiva
php glueful extensions:diagnose
bash
php glueful runiva:serve
bash
php glueful runiva:serve --check
bash
php glueful runiva:serve --runtime=roadrunner
php glueful runiva:serve --runtime=swoole
yaml
server:
  command: "php vendor/glueful/runiva/bin/worker.php"
http:
  address: ":8080"
  pool:
    num_workers: 2
bash
php glueful runiva:serve --runtime=swoole
bash
php glueful runiva:serve --runtime=frankenphp