Skip to content

Hypatia13/Symfony-Chat

Repository files navigation

Symfony-Chat

Simple messaging web application with Symfony for OAMK PHP Frameworks course, implementing database, user authentication and a websocket technology.

Specification

  • Using Symfony version 4
  • Php version 7.2
  • Websocket

Development process

Before starting the project I studied Symfony's documentation and its best practices, as well as the project's skeleton structure and a demo project created with Symfony v4.

This project was made from scratch with the help of resources I linked in this document and it consists of 3 main parts, websocket server for handling messaging, front-end with twig template engine, and a backend that is Symfony MVC framework. In this project database connections are handled with Doctrine and migrations are created via Symfony make command.

Authentication is created with native Symfony security features.

Project References:

http://symfony.com/doc/current/index.html

http://socketo.me/

http://socketo.me/docs/hello-world

http://blog.teamtreehouse.com/an-introduction-to-websockets

https://ourcodeworld.com/articles/read/242/creating-an-agnostic-realtime-chat-with-php-using-sockets-in-symfony-3

https://ourcodeworld.com/articles/read/239/how-to-create-and-execute-a-custom-console-command-in-symfony-3

https://symfony.com/doc/current/console.html

http://docopt.org

https://blog.mgechev.com/2015/02/06/parsing-binary-protocol-data-javascript-typedarrays-blobs/

https://symfony.com/doc/current/bundles/EasyAdminBundle/index.html

https://symfony.com/doc/current/bundles/EasyAdminBundle/integration/vichuploaderbundle.html

http://symfony.com/doc/current/security/voters.html

http://symfony.com/doc/current/components/security/authorization.html

https://symfony.com/doc/current/best_practices

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published