A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/symfony-swoole/swoole-bundle below:

GitHub - symfony-swoole/swoole-bundle: Symfony Swoole Bundle

Symfony integration with Open Swoole to speed up your applications.

  1. Make sure you have installed proper Open Swoole PHP Extension and pass other requirements.

  2. (optional) Create a new symfony project

    composer create-project symfony/skeleton project
    
    cd ./project
  3. Install bundle in your Symfony application

    composer require swoole-bundle/swoole-bundle

    If using OpenSwoole, you need to also install the core package:

    composer require openswoole/core
  4. Edit config/bundles.php

    return [
        // ...other bundles
        SwooleBundle\SwooleBundle\Bridge\Symfony\Bundle\SwooleBundle::class => ['all' => true],
    ];
  5. Run Swoole HTTP Server

    bin/console swoole:server:run
  6. Enter http://localhost:9501

  7. You can now configure bundle according to your needs

Additional requirements to enable specific features:

The bundle requires one of those extensions:

To check your installed version you can run the following command:

// Swoole
php -r "echo swoole_version() . \PHP_EOL;"

# 5.1.1

// OpenSwoole
php -r "echo OpenSwoole\Util::getVersion() . \PHP_EOL;"

# 22.0.0

Official GitHub repository swoole/swoole-src contains comprehensive installation guide. The recommended approach is to install it from source.

Official GitHub repository openswoole/ext-openswoole contains comprehensive installation guide. The recommended approach is to install it from source.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4