PHP code example of bencagri / openswoole-bundle

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

    

bencagri / openswoole-bundle example snippets


    return [
        // ...other bundles
        K911\Swoole\Bridge\Symfony\Bundle\SwooleBundle::class => ['all' => true],
    ];
    
sh
php -r "echo swoole_version() . \PHP_EOL;"

# 4.4.7