Laravel-websockets is a PHP library that provides real-time WebSocket server for Laravel applications.
Current Version: 1.14.1
Last Updated: 2023-08-30
PHP Requirement: ^7.2|^8.0
Dependencies: None
Package Description
Laravel-websockets is a comprehensive PHP library designed to enhance real-time communication within Laravel projects. By integrating this library, developers can seamlessly implement WebSocket servers, enabling bi-directional communication between the client and server. With Laravel-websockets, you can scale your application to support thousands of concurrent connections efficiently and securely. This library offers extensive features and robust functionalities, making it an ideal choice for modern web applications requiring real-time capabilities.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/beyondcode/laravel-websockets/1.14.1/loader.php';
use BeyondCode\LaravelWebSockets\WebSocketHandler;
use BeyondCode\LaravelWebSockets\WebSocketsStatisticsEntry;
$obj = new WebSocketHandler();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.