Php artisan is equivalent for production

So what exactly does php artisan do? I currently have a website and it is running on apache and I am trying to get a websocket structure for realtime chat. Websocket is a php daemon that runs in the background and listens for events, see the package here .

Therefore, I use the command

php artisan serve brainsocket:start --port=8080 

      

to start the server and everything works fine, however this only works at the time I open the terminal and I read in 3-4 SO posts that the Artisan service is NOT used for production. So how can I run the laravel package run function on port 8080 without using php-artisan and so that it stays constant after closing the terminal?

+3


source to share





All Articles