Skip to content

Commit

Permalink
Add composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nekudo committed Apr 5, 2020
1 parent bc2ce22 commit 2cb9566
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ to more sophisticated solution.

## Installation

Clone or download the repository to your server.
Clone or download the repository to your server. The package is also installable via composer running the following
command:

`composer require bloatless/php-websocket`

### Requirements

Expand Down
26 changes: 26 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "bloatless/php-websocket",
"description": "A simple WebSocket Server and Client implementation in PHP.",
"keywords": [
"php",
"websockets",
"websocket-server",
"bloatless"
],
"license": "MIT",
"homepage": "https://bloatless.org",
"authors": [
{
"name": "Simon Samtleben",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Bloatless\\WebSocket\\": "src/"
}
},
"require": {
"php": "^7.2",
}
}

0 comments on commit 2cb9566

Please sign in to comment.