---
title: "Discussion on \"Seamlessly Blend PHP with Node.js\" | Hashnode"
description: "Discussion on \"Seamlessly Blend PHP with Node.js\". @platformatic/php-node integrates PHP into Node.js apps for a unified developer experience"
url: "https://hashnode.com/posts/seamlessly-blend-php-with-nodejs/6835db5e882cd1091e9c6da1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Seamlessly Blend PHP with Node.js](https://blog.platformatic.dev/seamlessly-blend-php-with-nodejs?utm_source=hashnode&utm_medium=feed)

@platformatic/php-node integrates PHP into Node.js apps for a unified developer experience

May 27, 2025 · 12 min read · blog.platformatic.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#php](https://hashnode.com/tag/php)
-   [#wordpress](https://hashnode.com/tag/wordpress)
-   [#nextjs](https://hashnode.com/tag/nextjs)

## Written by

[Matteo Collina](https://hashnode.com/@matteocollina)

@matteocollina

  
[View profile](https://hashnode.com/@matteocollina)

Open Sourcerer, Node.js TSC member, Fastify Lead Maintainer

## Responses 3

Markdown supported · ⌘↵ to post

[Raju R.](https://hashnode.com/@rajurajahi)

[Jul 4, 2025](https://hashnode.com/posts/seamlessly-blend-php-with-nodejs/6835db5e882cd1091e9c6da1/comment/6867381cb4369edbfe346b3f)

Not Understand What is the use of this? phpdesktop, laravel runner, php inbuilt server, sartajphp server lots of solution to run php project in small server. Best solution for Node JS is sphpdesk. It can bind your website button to node js function and run whole php project inside node js app. I developed stream server in node js and secure and authorized by SartajPhp project which was running in apache web server and node js app was running in sphpdesk server. Yes sphpdesk can also work as web server like node js server but practically apache, nginx and other web server is more better for work as professional web server

[⠀](https://hashnode.com/@3-141)

[Jun 13, 2025](https://hashnode.com/posts/seamlessly-blend-php-with-nodejs/6835db5e882cd1091e9c6da1/comment/684c69aa5ee94319be112c13)

Maintainer from `ext-php-rs` here. Nice article and so cool to see what you've done with it. I mainly come from the direction of using rust code from php and it is cool to see some going into the different direction and build something awesome.

Also really appreciate you contributing the changes <3

[Navid Benders](https://hashnode.com/@navidbenders99)

[Jun 23, 2025](https://hashnode.com/posts/seamlessly-blend-php-with-nodejs/6835db5e882cd1091e9c6da1/comment/684c69aa5ee94319be112c13#reply-6858f0c5b77d180196a052d7)

I'm sure you don't mind that he put the whole php-node thing behind a paywall...

[⠀](https://hashnode.com/@3-141)

[Jun 23, 2025](https://hashnode.com/posts/seamlessly-blend-php-with-nodejs/6835db5e882cd1091e9c6da1/comment/684c69aa5ee94319be112c13#reply-68596887a78fe8e41215beb5)

[Navid Benders](https://hashnode.com/@navidbenders99) The project by him that enables this is open source ([github.com/platformatic/php-node](https://github.com/platformatic/php-node)). He also made a real effort to contribute to `ext-php-rs` with some changes already merged.

So from my perspective everything is fine.

What he does with his product is his decision. While I would certainly prefer it to be open I cant fault him for charging here. Nearly every company uses open source projects and he did more than most by A) open sourcing this functionality and B) contributing back.

That beeing said I did not look into the product, nor the pricing structure, as it doesn't really matter from what I see and mentioned above.

[Stephen Belanger](https://hashnode.com/@stephenbelanger)

[Sep 22, 2025](https://hashnode.com/posts/seamlessly-blend-php-with-nodejs/6835db5e882cd1091e9c6da1/comment/684c69aa5ee94319be112c13#reply-68d13bff6f983fcc6912939a)

[Navid Benders](https://hashnode.com/@navidbenders99) There's no paywall here. All the pieces mentioned in this article--[php-node](https://www.npmjs.com/package/@platformatic/php-node), the [php stackable](https://www.npmjs.com/package/@platformatic/php), and the [Watt application server](https://www.npmjs.com/package/wattpm)\--are all open source and Apache 2.0 licensed.

And yes, I contributed back as soon as I was able.

We do HAVE paid products, but none are covered in this article--this is all free stuff. We obviously need to have SOME paid products though, or how could we pay for the time to build things like this?

[M Abid](https://hashnode.com/@abidmaqbool)

[May 30, 2025](https://hashnode.com/posts/seamlessly-blend-php-with-nodejs/6835db5e882cd1091e9c6da1/comment/68398c559ad06dcac56d5c4e)

It's really appreciated. One thing that I did not see in the post is the php will be stateful or stateless?

[Matteo Collina](https://hashnode.com/@matteocollina)

[May 30, 2025](https://hashnode.com/posts/seamlessly-blend-php-with-nodejs/6835db5e882cd1091e9c6da1/comment/68398c559ad06dcac56d5c4e#reply-683992bc4860772dbb8c2da7)

PHP is essentially stateless. Each request clears its variable state in the VM.
