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.

4m read timeFrom blog.platformatic.dev
Post cover image
Table of contents
Permalink Why This MattersPermalink How It WorksPermalink Getting Started: Run Laravel in Node.jsPermalink Configuration Deep DivePermalink What's Next?Permalink Advanced FeaturesPermalink Conclusion
3 Comments

Sort: