title: Laravel 4: Any way to run PHP Artisan command in PHP code?
body: <p>I'm fairly new on Laravel's technology regarding real-time application. I'm trying to make a notification system and from what I Google, using some kind of socket server is the best way.</p>
  
  <p>So I'm trying to use this: <a href="https://github.com/BrainBoxLabs/brain-socket" rel="nofollow">https://github.com/BrainBoxLabs/brain-socket</a></p>
  
  <p>But I have no idea how to run it on live server later, since I don't own the server itself I can't run commands like: <code>php artisan brainsocket:start</code> in terminal, so I need to figure out how to run that command by using php code?</p>
  
  <p>Or if my method is wrong, how to use that brain-socket in live server?</p>