Skip to content

This is a web messenger developed on the Webman PHP-framework.

Notifications You must be signed in to change notification settings

aluxins/messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

messenger

This is a web messenger developed on the Webman PHP-framework using WebSocket for messaging.

Screenshot of messenger.

Online Demo

user: demo/demo

Install

Choose one of the two options.

  1. Install with Docker Compose

    git clone https://github.com/aluxins/messenger
    cd messenger
    docker-compose up -d
    docker exec -it messenger-php composer update
    docker restart messenger-php
    

    Open in your browser http://<your_domain>/messenger/

  2. Install from source

    git clone https://github.com/aluxins/messenger
    cd messenger/src
    composer install
    php start.php start -d
    

    Open in your browser http://localhost:2345/

If you chose the second option, take care of importing the database .docker/mysql/dump.sql to your MySQL/MariaDB server. And edit the database connection in the file src/config/database.php.

docker-compose.yml

Environment Variables:

  • SERVER_WS - WebSocket server, ex. wss://<your_domain>/wss.
  • SERVER_BASE - The base URL for < base > HTML element.

SSL

If you want to use the WSS protocol for WebSocket, choose one of two options

  1. Change the configuration config/app.php according to the documentation:

  2. Using NGINX as a WebSocket Proxy. Change your nginx.conf according to the documentation:

About

This is a web messenger developed on the Webman PHP-framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published