Skip to content

Latest commit

 

History

History
107 lines (81 loc) · 4.01 KB

README.md

File metadata and controls

107 lines (81 loc) · 4.01 KB
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.