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
php websocket daemon laravel artisan


source to share


No one has answered this question yet

Check out similar questions:

4270
Link. What does this symbol mean in PHP?
2776
How can I prevent SQL injection in PHP?
2414
Why shouldn't I use the mysql_ * functions in PHP?
2335
Removing an element from an array in PHP
2024
How do you parse and process HTML / XML in PHP?
27
Artisan error: Could not listen to localhost: 8000
1
Using Laravel-5.3 without using artisan command?
1
PHP Artisan Serve - Intermittent
0
php artisan serves as [ErrorException] laravel
0
Why can't I run my laravel app with PHP artisan serve?



All Articles
Loading...
X
Show
Funny
Dev
Pics