Servers, desktop and mobile from one PHP codebase.
No Electron. No Node. No browser in the middle.
Quick start · Docs · Benchmarks · Ecosystem · Community
Cold start of the same app on the same machine, in real time.
| Same POS app, same machine | PAM Desktop | Electron | |
|---|---|---|---|
| App launch | 138 ms | 1,563 ms | 11× faster |
| Screen change | 41 ms | 322 ms | 8× faster |
| Idle memory | 75 MB | 322 MB | 4× less |
| Idle CPU | 0.2% | 1.9% | 10× less |
| Package | 120 MB | 468 MB | 4× smaller |
We rewrote a 37-screen Electron point-of-sale app in PAM Desktop and diffed every screen against the original. Mean difference: below 0.5 out of 255 per pixel, on Linux and macOS.
PAM Runtime serves Laravel and plain PHP from preforked workers with a shared OPcache. Against FrankenPHP and OpenSwoole it won 11 of 12 throughput scenarios.
Reproduce it with the benchmark protocol.
Internals: Architecture · Async runtime · Native API · Runtime overview
# 1. install PAM (one time)
curl -fsSL https://github.com/push-in/pam/releases/latest/download/install.sh | shpam lands in ~/.local/bin (add it to PATH if needed). There is no php on PATH: use pam script.php and pam composer .... Desktop apps on Debian/Ubuntu need GTK 4: sudo apt install libgtk-4-1 gstreamer1.0-plugins-good.
Desktop app · Linux, macOS, Windows
pam init my-app --template desktop
cd my-app && pam desktop devMobile app · Android, iOS
pam init my-app --template native-ui --platform all
cd my-app && pam mobile devLaravel
pam init my-app --template laravel
cd my-app && pam devHTTP API
pam init my-api --template http
cd my-api && pam dev<Column class="card">
<Text class="title">Hello, {{ $name }}</Text>
<Button on:press="greet">Click</Button>
</Column>Next: Getting started · CLI reference · Production
| PAM | Electron | Tauri | NativePHP | FrankenPHP | |
|---|---|---|---|---|---|
| Write it in PHP | ✓ | — | — | ✓ | ✓ |
| No embedded browser | ✓ | — | — | — | — |
| Desktop | ✓ | ✓ | ✓ | ✓ | — |
| Mobile | ✓ | — | ✓ | ✓ | — |
| HTTP server | ✓ | — | — | — | ✓ |
Based on each project's public docs, November 2026.
47 public PAM Native plugins, listed in the ecosystem catalog:
| Area | Plugins (pushinbr/pam-native-*) |
|---|---|
| UI and graphics | ui · drawer · toast · webview · canvas · charts · svg · 3d · gpu · lottie · image · maps · i18n |
| Camera and media | camera · scanner · media · video · audio · background-transfer · share-extension |
| Device and OS | bluetooth · nfc · location · sensors · contacts · notifications · health · intents · widgets · live-activities · calls |
| Data and realtime | php · nitro · sync · sync-laravel · realtime · webrtc |
| Identity and commerce | auth · payments · subscriptions |
| Operations and quality | observability · analytics · firebase · feature-flags · devtools · testing · plugin-kit · web (Samsung/LG TVs) |
Hosts and frameworks: pam-desktop · pam-native · pam-laravel · pam-http · pam-socket · pam-octane. Full contract in docs/ecosystem.md.
| Docs | Discussions | Contributing |
|---|---|---|
| Guides, API and recipes | Ask, share, show what you built | How to set up, test and send a change |
Also: Issues · Support · Security · Governance · Roadmap · Changelog
If PAM saves you time, leave a star. It helps more people find it.
Apache License 2.0 · licensing guide · Made in Brazil by Pushin