Skip to content

PHP library for asynchronously serving WebSockets.

License

Notifications You must be signed in to change notification settings

mdMandoinfo/MDSocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

MDSocket

A PHP library for asynchronously serving WebSockets.
Explore the documentation »
View Demo · Report Bug · Request Feature

Contributors Forks Stargazers Issues

What is it?

MDSocket is a powerful PHP library designed for asynchronous WebSocket server implementation. It enables developers to seamlessly integrate WebSocket communication into their applications, offering real-time, bi-directional communication between clients and servers.

Requirements

Ensure you have the following prerequisites before using MDSocket:

  • PHP version 8.0>=
  • Composer for dependency management

Installation

Install MDSocket via Composer:

composer require mdMandoinfo/MDSocket

Basic Usage

<?php

use mdMandoinfo\MDSocket;

require_once __DIR__ . '/vendor/autoload.php';

MDSocket::run();

Enable SSL

<?php

use mdMandoinfo\MDSocket;

Documentation

Arabic: here
English: here

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Script
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

About

PHP library for asynchronously serving WebSockets.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages