It depends. If your compiling assets on the server or if you are compiling them locally and then pushing to the server. If you are compiling them on the server then you would need node/npm/yarn on it .
Read moreIs node js better than Laravel?
If you need a full-scale system to handle a massive website that is based on CMS, go with Laravel. If you need a service-based architecture that is compact, go with Node JS . Laravel platform contains the Eloquent ORM, which requires a basic implementation of PHP Active Record.
Read moreCan we integrate PHP and node js?
The easiest way to achieve this is to run both Node. js and PHP on the same server , but on different ports. A node. js server can then just do a local HTTP request to the PHP server and do something with the response.
Read more