Skip to content

Commit 2cb9566

Browse files
committed
Add composer.json
1 parent bc2ce22 commit 2cb9566

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ to more sophisticated solution.
1717

1818
## Installation
1919

20-
Clone or download the repository to your server.
20+
Clone or download the repository to your server. The package is also installable via composer running the following
21+
command:
22+
23+
`composer require bloatless/php-websocket`
2124

2225
### Requirements
2326

composer.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "bloatless/php-websocket",
3+
"description": "A simple WebSocket Server and Client implementation in PHP.",
4+
"keywords": [
5+
"php",
6+
"websockets",
7+
"websocket-server",
8+
"bloatless"
9+
],
10+
"license": "MIT",
11+
"homepage": "https://bloatless.org",
12+
"authors": [
13+
{
14+
"name": "Simon Samtleben",
15+
"email": "[email protected]"
16+
}
17+
],
18+
"autoload": {
19+
"psr-4": {
20+
"Bloatless\\WebSocket\\": "src/"
21+
}
22+
},
23+
"require": {
24+
"php": "^7.2",
25+
}
26+
}

0 commit comments

Comments
 (0)