Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aladser/phplinwebsocket
PHP вебсокет для Linux
https://github.com/aladser/phplinwebsocket
laravel linux ratchet websocket
Last synced: 9 days ago
JSON representation
PHP вебсокет для Linux
- Host: GitHub
- URL: https://github.com/aladser/phplinwebsocket
- Owner: Aladser
- Created: 2024-06-22T22:42:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-24T09:37:19.000Z (5 months ago)
- Last Synced: 2024-10-10T18:24:39.106Z (29 days ago)
- Topics: laravel, linux, ratchet, websocket
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP вебсокет для Linux
## Настройка запуска в Laravel
+ *App\Http\Kernel.php:*
```
protected $middleware = [
..,
\App\Http\Middleware\IsActiveWebsocket::class,
];
```
+ *composer.json*```
"require": {
"cboden/ratchet": "^0.4.4",
"ratchet/pawl": "^0.4.1"
},"autoload": {
"psr-4": {
"Aladser\\": "aladser/",
}
},
```