---
title: "Laravel and Node.js: PHP in Watt Runtime"
url: https://daily.dev/posts/laravel-and-node-js-php-in-watt-runtime-smxodjqj6
source_url: https://blog.platformatic.dev/laravel-nodejs-php-in-watt-runtime
type: article
source: "Platformatic"
published: 2025-07-17T13:50:48.297Z
updated: 2025-07-17T13:51:10.419Z
tags: ["nodejs", "php", "laravel", "microservices"]
reading_time: 4
upvotes: 34
comments: 3
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Laravel and Node.js: PHP in Watt Runtime

**[Platformatic](https://daily.dev/sources/platformatic)** · 4 min read · 34 upvotes · 3 comments

## Summary

Platformatic PHP stackable now enables Laravel applications to run within Node.js using Watt runtime. This integration uses a Rust-based native module to embed a multi-threaded PHP runtime directly inside Node.js, allowing developers to deploy PHP and JavaScript services together while reducing infrastructure complexity. The setup involves configuring workspaces, installing dependencies, and creating a platformatic.json file that handles URL rewriting for Laravel's routing system.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.platformatic.dev/laravel-nodejs-php-in-watt-runtime>

## Community discussion

Top comments from developers on daily.dev.

**@legacy8** · 3 upvotes

> But... Why?

**@nelsonenriqueherreradiaz** · 0 upvotes

> Excelente aporte colega gracias.

**@luiserp** · 0 upvotes

> Will this change how NativePHP works?

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#nodejs](https://daily.dev/tags/nodejs), [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel), [#microservices](https://daily.dev/tags/microservices)

[View this post on daily.dev](https://daily.dev/posts/laravel-and-node-js-php-in-watt-runtime-smxodjqj6)
