kraken-php / network
Kraken Framework Network Component.
Requires
- php: >=5.6.7
- cboden/ratchet: ^0.3
- guzzlehttp/guzzle: ^6.1
- kraken-php/ipc: 0.4.*
- kraken-php/loop: 0.4.*
- kraken-php/throwable: 0.4.*
- kraken-php/util: 0.4.*
- symfony/http-foundation: ^3.0
- symfony/routing: ^3.0
This package is not auto-updated.
Last update: 2024-12-21 21:31:10 UTC
README
Note: This repository is a part of Kraken Framework, but can be used freely as standalone library. If you are interested in more asynchronous components for PHP, check out the rest of Kraken repository or see our asynchronous application skeleton example.
Description
Network is a component that provides possibility to create standalone, asynchronous servers supporting various network protocols, including TCP, HTTP and WebSockets.
Feature Highlights
Network features:
- Asynchronous TCP server,
- Asynchronous HTTP server,
- Asynchronous WebSocket server,
- Support for HTTP/1.0 protocol,
- Support for HTTP/1.1 protocol,
- Support for WebSocket RFC6455 protocol,
- Support for WebSocket HyBi10 protocol,
- Connections firewall,
- HTTP request and response abstraction,
- HTTP routing,
- HTTP session provider,
- Kraken Framework compatibility,
- ...and more.
Examples
See more examples in official documentation.
Requirements
- PHP-5.6 or PHP-7.0+,
- UNIX or Windows OS.
Installation
composer require kraken-php/network
Tests
Tests are provided within our write-only Framework repository.
Documentation
Documentation for this module can be found in the official documentation.
Contributing
This library is read-only subtree split of Kraken Framework. To make contributions, please go to Framework repository.
License
This library licensed under the MIT license, see more information in Kraken Framework license section.