Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tom32i/sf2-security-websocket

Symfony 2 Security & Websockets
https://github.com/tom32i/sf2-security-websocket

Last synced: 21 days ago
JSON representation

Symfony 2 Security & Websockets

Awesome Lists containing this project

README

        

Symfony 2 Security & Websockets
===============================

Demo branches:
--------------

* default: No security
* secured: Security Ticket pattern implementation on a specific action
* request: Security Ticket pattern implementation on each request

Requirements:
-------------

* PHP >= 5.3.3
* NodeJS >= 0.10.*
* Redis >= 2.8.*

Installation:
-------------

Install Symfony2 and its vendors:

php composer.phar install

Install NodeJS modules:

npm install

Sample Apache VHost configuration:
----------------------------------


ServerName websocket.symfony2.local

DocumentRoot ~/Sites/sf2-security-websocket/web


ProxyPass http://127.0.0.1:8000/socket.io/
ProxyPassReverse http://127.0.0.1:8000/socket.io/


Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order Allow,Deny
Allow from all

Launching the Demo Server:
--------------------------

redis-server

node node/launch.js

php app/console assets:install