- Clone this repo into your machine and run
composer installto install the app (in the root dir of this project) dependencies that the app relies on. - Run
php -S localhost:8080to start the app athttp://localhost:8080/. - Open different (incognito) tabs and open any users already in the
srcdata.sqliteand load different users, like sohttp://localhost:8080/index?me=5andhttp://localhost:8080/index?me=1where 5 and 1 are real user ids from the users table.
vendor/bin/doctrine orm:schema-tool:createto create entity schemas in our database as defined insrc/Entityandcli-config.php.
- Chat template @https://mdbootstrap.com/docs/standard/extended/chat/
- SSE wrapper @ https://github.com/hhxsv5/php-sse