PHP code example of k911 / swoole-bundle

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

    

k911 / swoole-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