Tagged articles
NativePHP
12 articles · Page 1 of 1
The article examines NativePHP’s current source‑code exposure issue for desktop applications, explains how its traditional packaging leaves PHP scripts in clear text, and analyzes the potential of Swoole’s TypePHP static compiler—combined with elephc—to produce hardened native binaries that improve security, performance, and distribution.
NativePHPPHP compilationTypePHP
0 likes · 8 min read

This tutorial explains how to integrate NativePHP into Laravel to create desktop applications, covering project setup, routing, controller logic, UI rendering, and providing complete example code for retrieving the operating system name via a JSON endpoint.
LaravelNativePHPPHP
0 likes · 5 min read

NativePHP is a third‑party library that enables developers to embed native PHP code within Laravel, allowing execution of CLI commands, file system manipulation, and database operations, thereby simplifying the creation of efficient, flexible desktop applications.
LaravelNativePHPPHP
0 likes · 5 min read

This guide explains how to set up the required environment, clone the example repository, install backend and frontend dependencies, run development mode, build a native executable, and troubleshoot common errors when using NativePHP to create PHP‑based desktop applications.
NativePHPNodeVite
0 likes · 6 min read


21CTOApr 13, 2025 · Backend Development
NativePHP is a PHP framework that lets developers create cross‑platform native desktop applications, and when combined with Laravel it provides a powerful, low‑learning‑curve solution for building internal tools and office utilities with familiar PHP and Laravel components.
LaravelNativePHPPHP
0 likes · 4 min read

This article explains how to leverage the NativePHP library within the Laravel framework to build high‑performance desktop applications by executing CLI commands, manipulating the file system, and performing database operations with native PHP code examples.
LaravelNativePHPPHP
0 likes · 4 min read

This article explains how to integrate NativePHP technology into a Laravel project to build desktop applications, covering the creation of a Laravel base, setting up entry files, defining routes and controllers, using PHP's OS functions, and providing complete code examples.
Backend DevelopmentLaravelNativePHP
0 likes · 5 min read

This article explains how to integrate NativePHP technology into a Laravel project to build desktop applications, covering the creation of a Laravel base, setting up entry points, defining routes and controllers, using PHP's native functions to interact with the operating system, and providing complete example code.
LaravelNativePHPdesktop application
0 likes · 5 min read

This tutorial explains how to leverage the NativePHP library within the Laravel framework to execute CLI commands, manipulate the file system, and perform database operations, enabling developers to create high‑performance desktop applications using native PHP code.
LaravelNativePHPcli
0 likes · 5 min read

NativePHP is a third‑party library that extends Laravel, allowing developers to execute CLI commands, manipulate the file system, and perform database operations directly with native PHP code, enabling the creation of efficient, flexible desktop applications, as demonstrated through detailed code examples.
LaravelNativePHPcli
0 likes · 5 min read

This guide explains how to package a Laravel‑based PHP application into a standalone desktop app using NativePHP and Electron, covering installation, development workflow, adding native features like notifications, and creating production builds for Windows, macOS, and Linux.
DesktopAppElectronLaravel
0 likes · 7 min read

This article explains how NativePHP integrates Laravel with Electron (and future Tauri) by providing a complete API, detailing installation, the boot process, core workflow involving Express and PHP servers, event handling, window management, and the benefits of using a unified backend‑centric approach.
ElectronJavaScriptLaravel
0 likes · 10 min read
