Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lukegalea16's avatar

Laravel vs Node JS

Hey all so far I'm quite comfortable with Laravel and would like to test out TCP connections. Can you provide some examples regarding those please? Moreover I see many programmers making use of Node JS. Can someone highlight the major differences when I should use one or the other (Laravel vs Node JS) ?

0 likes
3 replies
fylzero's avatar

@lukegalea16 Node can be a nice addition to use for microservices, then again, so can Lumen. Laravel is a full framework and Node is more like what PHP is, just a base language. What you choose to use should be based on project requirements and take into account your level a familiarity with the tools you are choosing from.

24 likes
lukegalea16's avatar

Sorry to ask again but could you kindly elaborate about micro services please? From what I understood they are modular services within the application? Moreover is it fine to use web sockets (TCP requests) within Laravel?

Web Confection's avatar

If you wish to try Node start with adonisjs.com. It is based on Laravel and a great beginners framework.

One of the primary differences between Node and PHP is speed. NodeJS is much faster hence its popularity in the microservices community however, you can also build any full stack application.

PS> Regarding your comment about microservices the answer is no. Try reading https://samnewman.io/books/building_microservices/

Please or to participate in this conversation.