Download the PHP package tourze/workerman-server-bundle without Composer

On this page you can find all versions of the php package tourze/workerman-server-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package workerman-server-bundle

Workerman Server Bundle

中文

Latest Version Total Downloads PHP Version License Code Coverage

A high-performance HTTP server for Symfony applications using Workerman. Make your Symfony application faster with minimal changes.

Table of Contents

Features

Requirements

Installation

Add the bundle to your config/bundles.php:

Quick Start

Starting the HTTP Server

The server will start on http://127.0.0.1:8080 by default.

Commands

workerman:http

The main command to manage the Workerman HTTP server.

Description: Start Workerman HTTP server for your Symfony application

Usage:

Available actions:

Options:

Features:

Architecture

Request Flow

  1. Workerman receives HTTP request
  2. Request is converted to PSR-7 ServerRequest
  3. Static file check (serves from public/ directory if exists)
  4. PSR-7 request is converted to Symfony Request
  5. Symfony kernel handles the request
  6. Symfony Response is converted to PSR-7 Response
  7. Response is sent back through Workerman
  8. Kernel terminate event is triggered

Components

Performance Optimizations

  1. Memory Management: Workers automatically restart after processing 10,000 requests
  2. File Monitoring: Only enabled in debug mode to avoid overhead
  3. Static File Serving: Direct file serving bypasses Symfony kernel
  4. Connection Reuse: HTTP keep-alive reduces connection overhead
  5. Error Tracking: Optimized backtrace with ignored vendor files

Development Mode

In development mode (APP_ENV=dev), the bundle provides:

Production Deployment

For production use:

Advanced Usage

Custom Request Handlers

You can extend the request handling by implementing PSR-15 middleware:

Integration with Symfony Messenger

The bundle automatically starts a Messenger consumer worker when the HTTP server starts, allowing you to process async messages without separate processes.

Troubleshooting

Server won't start

High memory usage

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

The MIT License (MIT). Please see License File for more information.


All versions of workerman-server-bundle with dependencies

PHP Build Version
Package Version
Requires ext-fileinfo Version *
ext-pcntl Version *
ext-posix Version *
fidry/cpu-core-counter Version ^1.2.0
league/mime-type-detection Version ^1.0
nyholm/psr7 Version ^1.8.2
psr/container Version ^1.1|^2.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.1 || ^2.0
psr/http-server-handler Version ^1.0
psr/log Version ^3|^2|^1
symfony/config Version ^7.3
symfony/console Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-foundation Version ^7.3
symfony/http-kernel Version ^7.3
symfony/process Version ^7.3
symfony/property-access Version ^7.3
symfony/psr-http-message-bridge Version ^7.3
symfony/service-contracts Version ^3.6
symfony/yaml Version ^7.3
tourze/backtrace-helper Version 1.*
tourze/bundle-dependency Version 1.*
tourze/psr15-chain-request-handler Version 0.0.*
tourze/psr15-symfony-request-request-handler Version 0.1.*
tourze/symfony-dependency-service-loader Version 1.0.*
tourze/symfony-runtime-context-bundle Version 1.0.*
tourze/workerman-file-monitor Version 0.0.*
tourze/workerman-process-worker Version 0.2.*
tourze/workerman-psr-logger Version 0.0.*
tourze/workerman-runtime-context-bundle Version 1.0.*
workerman/coroutine Version ^1.1
workerman/psr7 Version ^2.0
workerman/workerman Version ^5.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tourze/workerman-server-bundle contains the following files

Loading the files please wait ...