Skip to main content

All Questions

Tagged with
4 votes
1 answer
4k views

php artisan serve equivalent for production

So what exactly is php artisan serve doing? I currently have a site up and running on apache and I am trying to get a websocket framework up for real time chat. The websocket is a php daemon that runs ...
CMOS's user avatar
  • 2,857
1 vote
2 answers
2k views

Broadcasting event error in Laravel 5.1 using Redis

I've started to use Laravel 5.1 and its pretty awesome, just wanted to play around with the new 'Broadcasting Event' feature by using NodeJs as the server and Redis as the driver following the guide ...
Lihai's user avatar
  • 323
0 votes
1 answer
396 views

Memory run out when using laravel brainsocket

When I use php artisan brainsocket:start --port=8080 to start the socket server, and when user grown gradually, my memory always run out and the socket server will stop. PHP Fatal error: Allowed ...
Phoenix's user avatar
  • 1,065
4 votes
1 answer
6k views

Pusher with Laravel 5 Authentication

I'm making an app with Live Chat in Laravel 5 and I'm following this tutorial, https://github.com/dazzz1er/confer/tree/master I already followed all of them but I'm having an error in my web console: ...
jackhammer013's user avatar
0 votes
2 answers
2k views

WebSocket connection works in local machine but not in server

I am using the Laravel Framework and BrainSocket to open up a websocket service in a port via the following command line: php artisan brainsocket:start --port=7778 Afterwards, I connect to the ...
Zingerale's user avatar
0 votes
1 answer
353 views

Laravel API - making realtime with Node

We have created an API for an internal applciation we are building, the application has grown way beyond what any of us thought it would, and the next stage is that it now needs to be realtime to be ...
Udders's user avatar
  • 6,936
0 votes
1 answer
123 views

Unable to make websocket connection from webapp's JS when using Latchet framework deployed on CentOS server

We are developing a webapp on Laravel framework to be deployed on CentOS linux server. For updates pushable from server to the browser, we are using Latchet. We did the development on the Windows ...
Kashif's user avatar
  • 79
2 votes
1 answer
309 views

laravel brainsocket websocket

I am trying to make a chat web app using php and websockets. I ran into Laravel's BrainSocket Websocket and I'm having a good start. However I'm wondering, is it possible for me to emit an event from ...
Adr's user avatar
  • 424
0 votes
1 answer
872 views

How to specify recipients of messages in Pusher?

I have an app under Laravel that uses Pusher for real-time notification. My problem is, I want to filter the recipient of the message. I only want the administrators who logged-in to receive or view ...
Jay Marz's user avatar
  • 1,892
3 votes
4 answers
6k views

Pusher on route not sending event in Laravel

I am creating a test app using Pusher for real-time notification on Laravel 4. As I am testing the said API, I am having difficulties on making it work. I have this on my routes.php: Route::get('...
Jay Marz's user avatar
  • 1,892
1 vote
1 answer
2k views

Browser won't connect to php websocket server

What I'm trying to do is set up a php websocket server to run a chat application. I have tried using Ratchet php which works and I can get a simple chat application up and running, however I realized ...
Jeff's user avatar
  • 2,058
0 votes
0 answers
487 views

About server restart with Brain Socket with Laravel

While reading the Brain Socket's documentation I read the following: Any changes to your laravel app / code while the ws server is running are not taken into account. You need to restart the ws ...
siannone's user avatar
  • 6,717
0 votes
3 answers
2k views

Building realtime app using Laravel and Latchet websocket

I'm building a closed app (users need to authenticate in order to use it). I'm having trouble in identifying the currently authenticated user from my Latchet session. Since apache does not support ...
Øystein Amundsen's user avatar
0 votes
0 answers
311 views

Laravel session data over websocket

Recently I have being playing with a project I found on github called Laravel Websocket Poker (https://github.com/troymccormick/laravel-pkr/). I have it all running and working well. When you open the ...
RMK147's user avatar
  • 191
0 votes
1 answer
641 views

Get connection id using BrainSocket for Laravel

Hopefully a simple question and I'm just blind: I'm implementing BrainSocket by BrainBoxLabs (a websocket handler for Laravel which apparently uses Ratchet). Everything's peachy, but I can't seem to ...
CJ Thompson's user avatar
  • 2,828

15 30 50 per page