Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tom32i/sf2-security-websocket
- Owner: Tom32i
- License: mit
- Created: 2014-01-17T13:26:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-14T11:10:24.000Z (over 9 years ago)
- Last Synced: 2024-04-14T06:05:20.436Z (7 months ago)
- Language: PHP
- Homepage: http://tom32i.github.io/sf2-security-websocket
- Size: 1.92 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 requestRequirements:
-------------* 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.localDocumentRoot ~/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