---
title: "NativePHP For Desktop"
url: https://daily.dev/posts/nativephp-for-desktop-byi2zo65r
source_url: https://laracasts.com/episodes/3985
type: article
source: "Larablog"
published: 2026-02-01T14:03:18.983Z
updated: 2026-02-01T14:03:41.033Z
tags: ["php", "laravel", "electron"]
reading_time: 14
upvotes: 19
comments: 0
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.

# NativePHP For Desktop

**[Larablog](https://daily.dev/sources/larablog)** · 14 min read · 19 upvotes · 0 comments

## Summary

NativePHP enables building native desktop applications using Laravel and PHP on top of Electron. Installation is straightforward via Composer, and development includes live reload capabilities through `composer native:dev`. The framework exposes Electron's native APIs to Laravel through an HTTP bridge, allowing PHP code to control desktop features like dock icons, menus, and badges. The architecture uses TypeScript files to wrap Electron functionality and PHP facades for developer-friendly access. The project is MIT-licensed, open source, and actively welcomes community contributions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laracasts.com/episodes/3985>

## Similar posts on daily.dev

- [Introduction To NativePHP](https://daily.dev/posts/introduction-to-nativephp-anjist0dp) · Larablog · 0 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/nativephp-for-desktop-byi2zo65r)
