Welcome to NativePHP Desktop
NativePHP Desktop is a Laravel package that allows you to write native desktop applications using PHP. Build cross-platform desktop apps for Windows, macOS, and Linux using the tools and framework you already know and love.Native Windows
Create and manage multiple windows with full control over appearance, behavior, and lifecycle
System Integration
Access native features like notifications, menus, dock, clipboard, and system dialogs
Auto Updates
Built-in update system with support for GitHub releases, S3, and DigitalOcean Spaces
Background Tasks
Run Laravel queues and background processes seamlessly within your desktop app
Why NativePHP Desktop?
NativePHP Desktop bridges the gap between web development and native desktop applications. Instead of learning entirely new technologies, you can leverage your existing Laravel and PHP knowledge to create powerful desktop applications.Key Features
- Full Laravel Integration - Use all Laravel features including Eloquent, queues, events, and more
- Cross-Platform - Build once, deploy to Windows, macOS, and Linux
- Native APIs - Access operating system features through simple, elegant facades
- Development Mode - Test and debug your application locally before building
- Production Ready - Bundle your application into distributable installers
How It Works
NativePHP Desktop uses Electron under the hood to provide a native shell for your Laravel application. Your PHP code runs on an embedded PHP server, while the UI is rendered using web technologies. This architecture gives you:PHP Backend
Full Laravel framework with all its features
Web Frontend
Use Blade, Livewire, Vue, React, or any frontend framework
Native Bridge
Seamless communication between PHP and native features
Requirements
Before getting started, ensure your development environment meets these requirements:- PHP 8.3 or higher
- Laravel 10.x, 11.x, or 12.x
- Composer
- Node.js and npm (for building the application)
- ext-zip PHP extension
NativePHP Desktop requires PHP 8.3+ and supports Laravel versions 10, 11, and 12.
What You Can Build
NativePHP Desktop is perfect for building:- Business Applications - CRMs, ERPs, inventory management systems
- Developer Tools - Code editors, deployment tools, database clients
- Creative Software - Image editors, video processors, music players
- Productivity Apps - Task managers, note-taking apps, time trackers
- Utilities - File converters, system monitors, backup tools
Next Steps
Ready to get started? Follow our step-by-step guides:Installation
Install NativePHP Desktop in your Laravel project
Quick Start
Build your first desktop application in minutes
Community and Support
Join the NativePHP community:- Visit the official website
- Report issues on GitHub
- Check out the contributing guide
Sponsors
NativePHP is made possible by our sponsors:- Bifrost - Build your NativePHP Desktop and Mobile apps for any platform, all in one place
- Laradevs - Connecting the best Laravel Developers with the best Laravel Teams