https://github.com/aladser/phplinwebsocket
PHP вебсокет для Linux
https://github.com/aladser/phplinwebsocket
laravel linux ratchet websocket
Last synced: 3 months ago
JSON representation
PHP вебсокет для Linux
- Host: GitHub
- URL: https://github.com/aladser/phplinwebsocket
- Owner: Aladser
- Created: 2024-06-22T22:42:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-24T09:37:19.000Z (over 1 year ago)
- Last Synced: 2025-04-05T22:43:20.845Z (6 months 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/",
}
},
```