Git Product home page Git Product logo

tutorial-laravel-4-real-time-chat's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tutorial-laravel-4-real-time-chat's Issues

how to create group chat

hi !
i want create chatbox for many group.
1 chatbox for 1 group.
only member of group can see message in this group.
how can do that .
thank

php artisan chat:serve

Hi

I added

$emitter = new \Evenement\EventEmitter();
$chat = new \Formativ\Chat\Chat($emitter);
Artisan::add(new Formativ\Chat\Command\Serve($chat));

in app/start/artisan.php to call php artisan chat:serve command but its not working

is this correct to call php artisan chat:serve command?

Names of users

Names of users are always: 'User'.
why?
as I can fix it?

Unable to connect to mqtt broker

I have installed HiveMQ and running on my machine, from javascript client am trying to connect, but getiing floowing error WebSocket connection to 'ws://192.168.1.100:8000/mqtt' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED in chrome , below is the code am using

<script src="../bower_components/jquery/dist/jquery.min.js"></script> <script src="../js/mqttws31.js"></script> <script src="../js/mqttws31-min.js"></script> <script src="../js/reconnecting-websocket.js"></script> <script src="../js/reconnecting-websocket.min.js"></script> <script>
// Create a client instance
client = new Paho.MQTT.Client("192.168.1.100", 8000, "100");
//var s = new ReconnectingWebSocket("ws://192.168.1.100:1883");
// set callback handlers
client.onConnectionLost = onConnectionLost;
client.onMessageArrived = onMessageArrived;

// connect the client
client.connect({onSuccess:onConnect});


// called when the client connects
function onConnect() {
    alert("connected");
  // Once a connection has been made, make a subscription and send a message.
  console.log("onConnect");
  client.subscribe("/World");
  message = new Paho.MQTT.Message("Hello");
  message.destinationName = "/World";
  client.send(message); 
}

// called when the client loses its connection
function onConnectionLost(responseObject) {
  if (responseObject.errorCode !== 0) {
    console.log("onConnectionLost:"+responseObject.errorMessage);
  }
}

// called when a message arrives
function onMessageArrived(message) {
  console.log("onMessageArrived:"+message.payloadString);
} 
</script>
plz help me out

Can't connect to WS

Hello verybody,

I have install real time chat for laravel 4 follow this guide https://medium.com/laravel-4/eaa550829538. I install Ratchet, copy js and css to public. But it doesn't work. do not know what else to do, I do not have experience laravel and websocket.
image
image

Thank for your help!

Not Working

I just donwload it and run composer then try to use., but it's not working..
I try to access it just a blank page.,
Can u help me ??

Save message to database

Hi,
How to save user's message to database or how to save all user's message to show in list message for user view.

Thank you!

How do I start the server?

Hi,

This is probably a very stupid question, but how do I start the server?
What's the specific artisan command?

Thanks in advance!

edit nevermind, php artisan chat:serve
Thanks anyways! Great stuff!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.